From a1013422f7b0283873324d4e8a06b6d79f6f7a92 Mon Sep 17 00:00:00 2001 From: John Willard <53777086+JohnFulpWillard@users.noreply.github.com> Date: Sun, 19 Dec 2021 15:24:36 -0500 Subject: [PATCH] Moves the suicided var to where its supposed to be (#63470) Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com> --- code/modules/client/verbs/suicide.dm | 2 -- code/modules/mob/mob_defines.dm | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/client/verbs/suicide.dm b/code/modules/client/verbs/suicide.dm index 67e0c445aaf..7670e8a8185 100644 --- a/code/modules/client/verbs/suicide.dm +++ b/code/modules/client/verbs/suicide.dm @@ -1,5 +1,3 @@ -/mob/var/suiciding = FALSE - /mob/proc/set_suicide(suicide_state) suiciding = suicide_state if(suicide_state) diff --git a/code/modules/mob/mob_defines.dm b/code/modules/mob/mob_defines.dm index e714bcdf95b..5e2fbec462b 100644 --- a/code/modules/mob/mob_defines.dm +++ b/code/modules/mob/mob_defines.dm @@ -45,6 +45,9 @@ ///Cursor icon used when holding shift over things var/examine_cursor_icon = 'icons/effects/mouse_pointers/examine_pointer.dmi' + ///Whether this mob has or is in the middle of committing suicide. + var/suiciding = FALSE + /// Whether a mob is alive or dead. TODO: Move this to living - Nodrak (2019, still here) var/stat = CONSCIOUS