summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ecs.cpp1
-rw-r--r--src/game.cpp1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/ecs.cpp b/src/ecs.cpp
index a810a8c..227db5d 100644
--- a/src/ecs.cpp
+++ b/src/ecs.cpp
@@ -68,7 +68,6 @@ void ECS_Init() {
pk_arr_reserve(&EntitiesToBeRemoved, 16);
pk_arr_reserve(&entitiesYetToBeRemoved, 16);
pk_arr_reserve(&EntitiesWithExcessInstances, 16);
- pk_ev_init(ecs.bkt);
pk_ev_create_mgr();
}
diff --git a/src/game.cpp b/src/game.cpp
index 7cb545f..cbaf56a 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -121,6 +121,7 @@ void Game_Main(PKEWindowProperties windowProps, const char *executablePath) {
fprintf(stdout, "Game_Main Entering\n");
try {
Game_Init();
+ pk_ev_init(pkeSettings.mem_bkt.game);
PkeThreads_Init();
AM_Init();
ECS_Init();