mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 06:57:42 +01:00
fix runtime in grill (#29437)
This commit is contained in:
@@ -72,7 +72,8 @@
|
||||
for(var/datum/cooking_surface/surface in surfaces)
|
||||
if(surface.on)
|
||||
if(!stored_wood)
|
||||
SEND_SIGNAL(surface.container, COMSIG_COOK_GRILL_NO_FUEL)
|
||||
if(surface.container)
|
||||
SEND_SIGNAL(surface.container, COMSIG_COOK_GRILL_NO_FUEL)
|
||||
surface.turn_off()
|
||||
else
|
||||
stored_wood = max(0, stored_wood - wood_consumption_rate)
|
||||
|
||||
Reference in New Issue
Block a user