ResetChatTimer no longer needed with upstream chat flood handling changes

This commit is contained in:
郑佩茹
2022-08-19 12:15:15 -06:00
parent b7446da4f2
commit 544d10efa2

View File

@@ -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();
} }
} }
} }