mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 04:57:12 +01:00
Attempted disposals fix
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user