From 956f1dfc5c6617827bad4e3ad1938183ff7597a3 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Mon, 21 Jul 2025 10:44:29 -0400 Subject: pke: pk_ev use game bkt --- src/ecs.cpp | 1 - src/game.cpp | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(); -- cgit v1.2.3