From 0cd195b754031b40e72f6f0a59e30a89872f10c8 Mon Sep 17 00:00:00 2001 From: NovaBot <154629622+NovaBot13@users.noreply.github.com> Date: Sat, 1 Jun 2024 18:51:46 -0400 Subject: [PATCH] [MIRROR] Fixes COMSIG_ATOM_POST_DIR_CHANGE having the same definition as COMSIG_ATOM_DIR_CHANGE (#2799) * Fixes COMSIG_ATOM_POST_DIR_CHANGE having the same definition as COMSIG_ATOM_DIR_CHANGE (#83604) ## About The Pull Request Title. ## Why It's Good For The Game Turns out, signals having the same definition causes a lot of issues. ## Changelog :cl: fix: COMSIG_ATOM_POST_DIR_CHANGE is now a functional signal /:cl: * Fixes COMSIG_ATOM_POST_DIR_CHANGE having the same definition as COMSIG_ATOM_DIR_CHANGE --------- Co-authored-by: nikothedude <59709059+nikothedude@users.noreply.github.com> Co-authored-by: NovaBot13 --- .../__DEFINES/dcs/signals/signals_atom/signals_atom_movement.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/__DEFINES/dcs/signals/signals_atom/signals_atom_movement.dm b/code/__DEFINES/dcs/signals/signals_atom/signals_atom_movement.dm index 25eb8b15f38..5836a0be65a 100644 --- a/code/__DEFINES/dcs/signals/signals_atom/signals_atom_movement.dm +++ b/code/__DEFINES/dcs/signals/signals_atom/signals_atom_movement.dm @@ -46,7 +46,7 @@ ///from base of atom/setDir(): (old_dir, new_dir). Called before the direction changes. #define COMSIG_ATOM_DIR_CHANGE "atom_dir_change" ///from base of atom/setDir(): (old_dir, new_dir). Called after the direction changes. -#define COMSIG_ATOM_POST_DIR_CHANGE "atom_dir_change" +#define COMSIG_ATOM_POST_DIR_CHANGE "atom_post_dir_change" ///from base of atom/movable/keybind_face_direction(): (dir). Called before turning with the movement lock key. #define COMSIG_MOVABLE_KEYBIND_FACE_DIR "keybind_face_dir" ///ignores the movement lock key, used for turning while strafing in a mech