mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Merge pull request #9893 from VOREStation/upstream-merge-7952
[MIRROR] Allows removing omni filters/mixers at any pressure (same as non-omni)
This commit is contained in:
committed by
Chompstation Bot
parent
9e2af79bc3
commit
c5f33dec74
@@ -96,15 +96,6 @@
|
|||||||
"You hear a ratchet.")
|
"You hear a ratchet.")
|
||||||
deconstruct()
|
deconstruct()
|
||||||
|
|
||||||
/obj/machinery/atmospherics/omni/can_unwrench()
|
|
||||||
var/int_pressure = 0
|
|
||||||
for(var/datum/omni_port/P in ports)
|
|
||||||
int_pressure += P.air.return_pressure()
|
|
||||||
var/datum/gas_mixture/env_air = loc.return_air()
|
|
||||||
if((int_pressure - env_air.return_pressure()) > 2*ONE_ATMOSPHERE)
|
|
||||||
return 0
|
|
||||||
return 1
|
|
||||||
|
|
||||||
/obj/machinery/atmospherics/omni/attack_hand(user as mob)
|
/obj/machinery/atmospherics/omni/attack_hand(user as mob)
|
||||||
if(..())
|
if(..())
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user