mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
[MIRROR] Fix guillotine buckling (#1299)
* Fix guillotine buckling (#54357) Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@ users.noreply.github.com> * Fix guillotine buckling Co-authored-by: Yenwodyah <yenwodyah@gmail.com> Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@ users.noreply.github.com>
This commit is contained in:
co-authored by
Jared-Fogle
Yenwodyah
parent
74332d4ccb
commit
4370c8c17b
@@ -189,9 +189,9 @@
|
||||
else
|
||||
return ..()
|
||||
|
||||
/obj/structure/guillotine/buckle_mob(mob/living/M, force = FALSE, check_loc = TRUE)
|
||||
/obj/structure/guillotine/user_buckle_mob(mob/living/M, force = FALSE, check_loc = FALSE)
|
||||
if (!anchored)
|
||||
to_chat(usr, "<span class='warning'>The [src] needs to be wrenched to the floor!</span>")
|
||||
to_chat(usr, "<span class='warning'>[src] needs to be wrenched to the floor!</span>")
|
||||
return FALSE
|
||||
|
||||
if (!istype(M, /mob/living/carbon/human))
|
||||
@@ -202,7 +202,7 @@
|
||||
to_chat(usr, "<span class='warning'>You need to raise the blade before buckling someone in!</span>")
|
||||
return FALSE
|
||||
|
||||
return ..(M, force, FALSE)
|
||||
return ..(M, force, check_loc = FALSE) //check_loc = FALSE to allow moving people in from adjacent turfs
|
||||
|
||||
/obj/structure/guillotine/post_buckle_mob(mob/living/M)
|
||||
if (!istype(M, /mob/living/carbon/human))
|
||||
|
||||
Reference in New Issue
Block a user