[REFACTOR] Helper proc for unbuckling a mob (#26918)

* Helper proc from unbuckling a mob

* Rename to unbuckle

* Minor fixes

* Move buckled up /mob/living

---------

Co-authored-by: Adrer <adrermail@gmail.com>
This commit is contained in:
Chap
2024-10-10 12:54:09 +00:00
committed by GitHub
co-authored by Adrer
parent 7ed4ef4f76
commit a060093b59
18 changed files with 41 additions and 38 deletions
+1 -1
View File
@@ -433,7 +433,7 @@ GLOBAL_DATUM_INIT(multispin_words, /regex, regex("like a record baby"))
for(var/V in listeners)
var/mob/living/L = V
if(L.buckled && istype(L.buckled, /obj/structure/chair))
L.buckled.unbuckle_mob(L)
L.unbuckle()
next_command = world.time + cooldown_meme
//DANCE