Scripts/Commands: Modify ".learn" command to target current Player by default
This commit is contained in:
1 parent
d412f2d6d3
commit
f22b1938db
1 file changed
+1
-1
@@ -72,7 +72,7 @@ public:
|
||||
|
||||
static bool HandleLearnCommand(ChatHandler* handler, char const* args)
|
||||
{
|
||||
Player* targetPlayer = handler->getSelectedPlayer();
|
||||
Player* targetPlayer = handler->getSelectedPlayerOrSelf();
|
||||
|
||||
if (!targetPlayer)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user