1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-12-24 09:40:21 +01:00

added missing return value to do_env_damage

This commit is contained in:
TenPlus1 2020-03-06 13:23:53 +00:00
parent ad5b444b65
commit 9f5e6eb85f

View File

@ -971,7 +971,7 @@ function mob_class:do_env_damage()
pos = pos, node = self.standing_in}) then return true end
end
]]
self:check_for_death({type = "unknown"})
return self:check_for_death({type = "unknown"})
end