mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
ResetChatTimer no longer needed with upstream chat flood handling changes
This commit is contained in:
parent
b7446da4f2
commit
544d10efa2
@ -124,7 +124,6 @@ class PlayerbotsPlayerScript : public PlayerScript
|
|||||||
if (PlayerbotAI* botAI = GET_PLAYERBOT_AI(receiver))
|
if (PlayerbotAI* botAI = GET_PLAYERBOT_AI(receiver))
|
||||||
{
|
{
|
||||||
botAI->HandleCommand(type, msg, player);
|
botAI->HandleCommand(type, msg, player);
|
||||||
player->ResetSpeakTimers();
|
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -142,7 +141,6 @@ class PlayerbotsPlayerScript : public PlayerScript
|
|||||||
if (PlayerbotAI* botAI = GET_PLAYERBOT_AI(member))
|
if (PlayerbotAI* botAI = GET_PLAYERBOT_AI(member))
|
||||||
{
|
{
|
||||||
botAI->HandleCommand(type, msg, player);
|
botAI->HandleCommand(type, msg, player);
|
||||||
player->ResetSpeakTimers();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user