This commit is contained in:
Ghommie
2019-12-16 14:00:14 +01:00
parent fb6b01a4ae
commit b0e8fb42cd
+1 -1
View File
@@ -135,7 +135,7 @@
update_icon()
if(filling)
if(!reagents.total_volume || outbag.reagents.total_volume >= outbag.reagents.maximum_volume || !outbag)
if(!reagents.total_volume || !outbag || outbag.reagents.total_volume >= outbag.reagents.maximum_volume)
beep_stop_pumping("[src] pings.", TRUE)
return
//monitor the output bag's reagents storage.