1
0
Fork 0

entity cramming: spare the children

This commit is contained in:
cora 2022-05-22 17:16:03 +02:00
parent 85b599edba
commit fb4f21cba0
1 changed files with 1 additions and 1 deletions

View File

@ -2982,7 +2982,7 @@ local function check_entity_cramming(self)
local l = o:get_luaentity() local l = o:get_luaentity()
if l and clear then if l and clear then
l.cram = nil l.cram = nil
elseif l and l.cram == nil then elseif l and l.cram == nil and not self.child then
table.insert(ncram,l) table.insert(ncram,l)
elseif not clear and l and l.cram then elseif not clear and l and l.cram then
damage_mob(l,"cramming",cramming_damage) damage_mob(l,"cramming",cramming_damage)