mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-19 11:05:50 +01:00
Don't allow ventcrawling if vents are welded
What's the point of welding vents, again?
This commit is contained in:
@@ -55,6 +55,12 @@
|
||||
/obj/machinery/atmospherics/proc/can_crawl_through()
|
||||
return 1
|
||||
|
||||
/obj/machinery/atmospherics/unary/can_crawl_through()
|
||||
if(welded)
|
||||
return 0
|
||||
|
||||
..()
|
||||
|
||||
/obj/machinery/atmospherics/proc/findConnecting(var/direction)
|
||||
for(var/obj/machinery/atmospherics/target in get_step(src,direction))
|
||||
if(target.initialize_directions & get_dir(target,src))
|
||||
|
||||
Reference in New Issue
Block a user