mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 06:53:40 +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
|
else
|
||||||
Printf ("%s joined the game\n", players[bnum].userinfo.GetName());
|
Printf ("%s joined the game\n", players[bnum].userinfo.GetName());
|
||||||
|
|
||||||
Level->localEventManager->PlayerEntered(bnum, false);
|
|
||||||
Level->DoReborn (bnum, true);
|
Level->DoReborn (bnum, true);
|
||||||
|
Level->localEventManager->PlayerEntered(bnum, false);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue