diff --git a/game/modules/tome/data/zones/demon-plane-spell/grids.lua b/game/modules/tome/data/zones/demon-plane-spell/grids.lua index 8382101621977466e1021a3725c16f6cf427e4b5..a19bf3bbd91b889e5623446c0de27dc1437f2b60 100644 --- a/game/modules/tome/data/zones/demon-plane-spell/grids.lua +++ b/game/modules/tome/data/zones/demon-plane-spell/grids.lua @@ -28,8 +28,10 @@ newEntity{ if not game.level.allow_demon_plane_damage then return end local DT = engine.DamageType local dam = DT:get(DT.DEMONFIRE).projector(game.level.plane_owner, x, y, DT.DEMONFIRE, game.level.demonfire_dam or 1) - if dam > 0 then game.logPlayer(who, "The lava burns you!") - elseif dam < 0 then game.logPlayer(who, "The lava heals you!") end + if dam then + if dam > 0 then game.logPlayer(who, "The lava burns you!") + elseif dam < 0 then game.logPlayer(who, "The lava heals you!") end + end end, }