Makes incorporeal things properly immune to bonfires and lava

This commit is contained in:
Heroman
2021-07-05 18:05:46 +10:00
parent d439ea8c9d
commit e70eb23dce
2 changed files with 4 additions and 3 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()