From 9099eec2a638bcf61bf46e86740458d933197577 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 20 Oct 2023 04:20:51 +0200 Subject: wip tests --- editor/update.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'editor/update.cpp') diff --git a/editor/update.cpp b/editor/update.cpp index 73e5cb00..33c5243c 100644 --- a/editor/update.cpp +++ b/editor/update.cpp @@ -263,13 +263,14 @@ auto app::get_z_bounds() -> z_bounds void app::update(float dt) { update_cursor_tile(cursor.pixel); + tests_pre_update(); 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(); M->world().maybe_collect(); } -- cgit v1.2.3