mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- fixed: Bots did not trigger PlayerEntered events
This commit is contained in:
parent
47a52e6a7b
commit
6cc5ddd129
1 changed files with 1 additions and 0 deletions
|
@ -394,6 +394,7 @@ 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);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue