mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +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())
|
||||
to_chat(src, "<span class='warning'>You cannot ventcrawl in your current state!</span>")
|
||||
return FALSE
|
||||
if(buckled)
|
||||
to_chat(src, "<span class='warning'>You cannot ventcrawl while buckled!</span>")
|
||||
return FALSE
|
||||
return ventcrawl_carry()
|
||||
|
||||
/mob/living/Login()
|
||||
@@ -201,4 +204,4 @@ var/list/ventcrawl_machinery = list(
|
||||
client.screen -= global_hud.centermarker
|
||||
client.eye = src
|
||||
|
||||
pipes_shown.len = 0
|
||||
pipes_shown.len = 0
|
||||
|
||||
Reference in New Issue
Block a user