mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Fixes mobs being able to ventcrawl while buckled (#7526)
No more mice teleporting office chairs all over the station.
This commit is contained in:
@@ -33,6 +33,9 @@ var/list/ventcrawl_machinery = list(
|
|||||||
if(incapacitated())
|
if(incapacitated())
|
||||||
to_chat(src, "<span class='warning'>You cannot ventcrawl in your current state!</span>")
|
to_chat(src, "<span class='warning'>You cannot ventcrawl in your current state!</span>")
|
||||||
return FALSE
|
return FALSE
|
||||||
|
if(buckled)
|
||||||
|
to_chat(src, "<span class='warning'>You cannot ventcrawl while buckled!</span>")
|
||||||
|
return FALSE
|
||||||
return ventcrawl_carry()
|
return ventcrawl_carry()
|
||||||
|
|
||||||
/mob/living/Login()
|
/mob/living/Login()
|
||||||
|
|||||||
Reference in New Issue
Block a user