Commit 9aab931a44e5532731789fa7912108bb423c7ef3

Authored by DarkGod
1 parent b5c56bbe

i'm so paranoid

... ... @@ -1296,6 +1296,7 @@ end
1296 1296
1297 1297 -- log and collate combat damage for later display with displayDelayedLogDamage
1298 1298 function _M:delayedLogDamage(src, target, dam, desc, crit)
  1299 + if not target or not src then return end
1299 1300 src = src.__project_source or src -- assign message to indirect damage source if available
1300 1301 local visible, srcSeen, tgtSeen = self:logVisible(src, target)
1301 1302 if visible then -- only log damage the player is aware of
... ...