| 72 | } |
| 73 | |
| 74 | void ScriptExtender::PostStartup() |
| 75 | { |
| 76 | if (postStartupDone_) return; |
| 77 | |
| 78 | // We need to initialize the function library here, as GlobalAllocator isn't available in Init(). |
| 79 | if (!gExtender->GetLibraryManager().CriticalInitializationFailed()) { |
| 80 | osiris_.Initialize(); |
| 81 | } |
| 82 | |
| 83 | entityHelpers_.Setup(); |
| 84 | gExtender->GetPropertyMapManager().RegisterComponents(entityHelpers_); |
| 85 | postStartupDone_ = true; |
| 86 | } |
| 87 | |
| 88 | bool IsLoadingState(GameState state) |
| 89 | { |
nothing calls this directly
no test coverage detected