Merge pull request #10898 from Heroman3003/incorporeal-fires

Makes incorporeal things properly immune to bonfires and lava (and tram and elevator...)
This commit is contained in:
Aronai Sieyes
2021-07-05 16:24:54 -04:00
committed by GitHub
4 changed files with 8 additions and 7 deletions
+3 -2
View File
@@ -180,8 +180,9 @@
O.fire_act(null, 1000, 500)
else if(isliving(A) && get_fuel_amount() > 4)
var/mob/living/L = A
L.adjust_fire_stacks(get_fuel_amount() / 4)
L.IgniteMob()
if(!(L.is_incorporeal()))
L.adjust_fire_stacks(get_fuel_amount() / 4)
L.IgniteMob()
/obj/structure/bonfire/update_icon()
cut_overlays()