From edc50a43a0ab064472aa7fde90f14cf456d92076 Mon Sep 17 00:00:00 2001 From: tech kaczynski Date: Mon, 19 Oct 2026 01:47:08 +1000 Subject: lots of editor work. Improved editor camera controls. --- app.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app.c') diff --git a/app.c b/app.c index 18f0d9c..851b179 100644 --- a/app.c +++ b/app.c @@ -49,16 +49,16 @@ app_exit(void) { static void app_loop(void) { app.run = !WindowShouldClose(); + entity_system_update(); /* this is some hypothetical bullshit, probably will change */ - if (app.mode != APP_MODE_PLAY) { + if (app.mode == APP_MODE_EDIT) { editor_update(); } physics_update(); res_update(); env_update(); - entity_system_update(); BeginDrawing(); ClearBackground(RAYWHITE); -- cgit v1.2.3