mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- fixed: PlayerEntered for bots should occur after Level->DoReborn
This commit is contained in:
parent
8b0dd1376f
commit
ab6ed0949f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue