From f3c46930b43707e57979f08c85d53974f688380d Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 19 Mar 2024 14:29:48 +0100 Subject: pass dt to tests --- editor/update.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editor/update.cpp') diff --git a/editor/update.cpp b/editor/update.cpp index 6987b411..1fdbe31b 100644 --- a/editor/update.cpp +++ b/editor/update.cpp @@ -279,14 +279,14 @@ void app::update(Ns dt) M->world().collect(true); update_cursor_tile(cursor.pixel); - tests_pre_update(); + tests_pre_update(dt); apply_commands(*keys_); update_character(dt); update_world(dt); do_camera(dt, *keys_, get_key_modifiers()); clear_non_repeated_keys(); set_cursor(); - tests_post_update(); + tests_post_update(dt); } } // namespace floormat -- cgit v1.2.3