Attempted disposals fix

This commit is contained in:
Mark van Alphen
2015-08-07 00:54:40 +02:00
parent fd9ca9102c
commit 533b38b425
+1 -4
View File
@@ -235,9 +235,6 @@
return
/obj/machinery/disposal/ui_interact(mob/user, ui_key = "main", var/datum/nanoui/ui = null, var/force_open = 1)
if(!air_contents) // I'm totally blaming Pete for you Donkie, because this is really shitty
return
var/data[0]
var/pressure = 100 * air_contents.return_pressure() / (SEND_PRESSURE)
@@ -343,7 +340,7 @@
return
if(!air_contents) // Potentially causes a runtime otherwise (if this is really shitty, blame pete //Donkie)
return
air_contents = new() // new empty gas resv.
flush_count++
if( flush_count >= flush_every_ticks )