Moves assert_gas() into a define it should always have been, speeding up atmos slightly
This commit is contained in:
committed by
CitadelStationBot
parent
5f4b3594d0
commit
4f32b7a0d4
@@ -96,7 +96,7 @@
|
||||
var/datum/gas_mixture/filtered_out = new
|
||||
|
||||
filtered_out.temperature = removed.temperature
|
||||
filtered_out.assert_gas(filter_type)
|
||||
ASSERT_GAS(filter_type, filtered_out)
|
||||
filtered_out.gases[filter_type][MOLES] = removed.gases[filter_type][MOLES]
|
||||
|
||||
removed.gases[filter_type][MOLES] = 0
|
||||
@@ -166,4 +166,3 @@
|
||||
if(. && on && is_operational())
|
||||
to_chat(user, "<span class='warning'>You cannot unwrench [src], turn it off first!</span>")
|
||||
return FALSE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user