mirror of
https://github.com/ineedbots/cod2m.git
synced 2025-04-19 16:02:53 +00:00
Fix abort error on quit
This commit is contained in:
parent
2be8cd138c
commit
e244cd3bc0
@ -47,6 +47,9 @@ namespace Components
|
||||
Loader::Register(new Scheduler());
|
||||
|
||||
Loader::Pregame = false;
|
||||
|
||||
// Make sure preDestroy is called when the game shuts down
|
||||
Scheduler::OnShutdown(Loader::PreDestroy);
|
||||
}
|
||||
|
||||
void Loader::Uninitialize()
|
||||
|
Loading…
x
Reference in New Issue
Block a user