mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
Fixes foam spreading through public airlocks and windoors (#67101)
* Fixes foam spreading through public airlocks and windoors * nova
This commit is contained in:
@@ -62,7 +62,7 @@
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
/obj/structure/plasticflaps/CanAStarPass(obj/item/card/id/ID, to_dir, atom/movable/caller)
|
||||
/obj/structure/plasticflaps/CanAStarPass(obj/item/card/id/ID, to_dir, atom/movable/caller, no_id = FALSE)
|
||||
if(isliving(caller))
|
||||
if(isbot(caller))
|
||||
return TRUE
|
||||
@@ -73,7 +73,7 @@
|
||||
return FALSE
|
||||
|
||||
if(caller?.pulling)
|
||||
return CanAStarPass(ID, to_dir, caller.pulling)
|
||||
return CanAStarPass(ID, to_dir, caller.pulling, no_id = no_id)
|
||||
return TRUE //diseases, stings, etc can pass
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user