Skip to content

Commit

Permalink
Scripts/Commands: Modify ".learn" command to target current Player by…
Browse files Browse the repository at this point in the history
… default
  • Loading branch information
jackpoz committed Jan 4, 2016
1 parent d412f2d commit f22b193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/scripts/Commands/cs_learn.cpp
Expand Up @@ -72,7 +72,7 @@ class learn_commandscript : public CommandScript

static bool HandleLearnCommand(ChatHandler* handler, char const* args)
{
Player* targetPlayer = handler->getSelectedPlayer();
Player* targetPlayer = handler->getSelectedPlayerOrSelf();

if (!targetPlayer)
{
Expand Down

0 comments on commit f22b193

Please sign in to comment.