moved update_objects to after update_game

pull/5/head
Sara 2023-05-14 14:19:58 +02:00
parent 44a4b6928c
commit 2e7b3d3c4a
1 changed files with 1 additions and 1 deletions

View File

@ -66,8 +66,8 @@ int _engine_run() {
_render_mode = 1; _render_mode = 1;
update_ui(); update_ui();
_render_mode = 0; _render_mode = 0;
update_objects(); // update world objects
update_game(); update_game();
update_objects(); // update world objects
draw_objects(); // draw world objects draw_objects(); // draw world objects
swap_buffer(); swap_buffer();
} }