- fixed: PlayerEntered for bots should occur after Level->DoReborn

This commit is contained in:
Rachael Alexanderson 2019-04-10 06:24:57 -04:00
parent 8b0dd1376f
commit ab6ed0949f

View file

@ -394,8 +394,8 @@ bool FCajunMaster::DoAddBot (FLevelLocals *Level, uint8_t *info, botskill_t skil
else
Printf ("%s joined the game\n", players[bnum].userinfo.GetName());
Level->localEventManager->PlayerEntered(bnum, false);
Level->DoReborn (bnum, true);
Level->localEventManager->PlayerEntered(bnum, false);
return true;
}