Fixes lighters lighting you on fire. (#21340)

a rogue >= meant that you could be lit on fire even if you had zero
firestacks

Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
Matt Atlas
2025-09-09 17:08:45 +00:00
committed by GitHub
co-authored by Matt Atlas
parent 8df82166e6
commit 1e30c1189a
2 changed files with 59 additions and 1 deletions
+1 -1
View File
@@ -372,7 +372,7 @@
if(fire_stacks_to_add)
adjust_fire_stacks(fire_stacks_to_add)
if(fire_stacks >= 0 && !on_fire)
if(fire_stacks > 0 && !on_fire)
// Sanity check
fire_stacks_temperature = 0
set_on_fire()