diff options
Diffstat (limited to 'app.c')
| -rw-r--r-- | app.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |
