From 55b67dcf5df749728f3d2dfd4a5281dcfca2a869 Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Fri, 7 Feb 2025 16:10:37 -0500 Subject: [PATCH] Fix a bug where enemies will path into the player's space because collision isn't done at the right time. I think this may need another fix in the future when we get to the combat. --- gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui.cpp b/gui.cpp index 28472d8..b17ca94 100644 --- a/gui.cpp +++ b/gui.cpp @@ -220,8 +220,8 @@ namespace gui { void FSM::run_systems() { System::enemy_pathing($level); - System::motion($level); System::collision($level); + System::motion($level); System::death($level); }