summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 9a52e1b..8b6d23d 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -587,6 +587,7 @@ void Game_Main(PKEWindowProperties windowProps, const char *executablePath) {
pkeSettings.executablePath = executablePath;
fprintf(stdout, "Game_Main Entering\n");
try {
+ pk_ev_init();
PkeThreads_Init();
AM_Init();
ECS_Init();
@@ -738,6 +739,7 @@ void Game_Main(PKEWindowProperties windowProps, const char *executablePath) {
AM_DebugPrint();
AM_Teardown();
PkeThreads_Teardown();
+ pk_ev_teardown();
pk_memory_debug_print();
fprintf(stdout, "Game_Main Exiting\n");
}