- made the event manager an object so it can be instantiated multiple times.
This commit is contained in:
parent
8d83f03138
commit
484485f3cf
21 changed files with 257 additions and 246 deletions
|
|
@ -423,7 +423,7 @@ void FCajunMaster::RemoveAllBots (FLevelLocals *Level, bool fromlist)
|
|||
}
|
||||
}
|
||||
// [ZZ] run event hook
|
||||
E_PlayerDisconnected(i);
|
||||
eventManager.PlayerDisconnected(i);
|
||||
Level->Behaviors.StartTypedScripts (SCRIPT_Disconnect, players[i].mo, true, i, true);
|
||||
ClearPlayer (i, !fromlist);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue