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

(cherry picked from commit f22b1938db5cddcb2a9988ff54dfa08d2fa1aecc)
This commit is contained in:
jackpoz
2016-01-20 21:28:17 +01:00
committed by Carbenium
parent 834ce504ae
commit e7f7ffa73f
+1 -1
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)
{