Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BeagleGaming1 committed Aug 3, 2023
1 parent 6486762 commit d825f3c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions code/game/objects/structures/props.dm
Original file line number Diff line number Diff line change
Expand Up @@ -830,14 +830,12 @@
visible_message(SPAN_WARNING("[xeno] extinguishes [src]!"))

/obj/structure/prop/brazier/campfire/proc/fuel_drain(looping)
if(!fuel_stage_time) // Set the timer to 0 to make it never burn out
return
remaining_fuel--
if(!remaining_fuel)
new /obj/structure/prop/brazier/frame/full/campfire/smolder(loc)
qdel(src)
return
if(!looping)
if(!looping || !fuel_stage_time)
return
addtimer(CALLBACK(src, PROC_REF(fuel_drain), TRUE), fuel_stage_time)

Expand Down

0 comments on commit d825f3c

Please sign in to comment.