Scripts/Commands: Modify ".learn" command to target current Player by default

(cherry picked from commit f22b1938db)
This commit is contained in:
jackpoz
2016-01-04 22:44:19 +01:00
committed by Carbenium
parent 834ce504ae
commit e7f7ffa73f

View File

@@ -72,7 +72,7 @@ public:
static bool HandleLearnCommand(ChatHandler* handler, char const* args)
{
Player* targetPlayer = handler->getSelectedPlayer();
Player* targetPlayer = handler->getSelectedPlayerOrSelf();
if (!targetPlayer)
{