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
1 changed files with 1 additions and 1 deletions

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