mirror of
https://github.com/ineedbots/cod2m.git
synced 2025-04-20 00:12:52 +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::Register(new Scheduler());
|
||||||
|
|
||||||
Loader::Pregame = false;
|
Loader::Pregame = false;
|
||||||
|
|
||||||
|
// Make sure preDestroy is called when the game shuts down
|
||||||
|
Scheduler::OnShutdown(Loader::PreDestroy);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Loader::Uninitialize()
|
void Loader::Uninitialize()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user