Merge pull request #1235 from liyunfan1223/revert-1125-patch-17

Revert "Add possible crash fix when summoning an invalid bot"
This commit is contained in:
blinkysc
2025-04-24 11:13:48 -05:00
committed by GitHub

View File

@@ -217,9 +217,6 @@ bool SummonAction::Teleport(Player* summoner, Player* player)
if (bot->isDead() && revive)
{
if (!botAI->IsSafe(player) || !botAI->IsSafe(summoner))
return false;
bot->ResurrectPlayer(1.0f, false);
bot->SpawnCorpseBones();
botAI->TellMasterNoFacing("I live, again!");