mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 10:31:06 +01:00
entity cramming: spare the children
This commit is contained in:
parent
85b599edba
commit
fb4f21cba0
1 changed files with 1 additions and 1 deletions
|
@ -2982,7 +2982,7 @@ local function check_entity_cramming(self)
|
|||
local l = o:get_luaentity()
|
||||
if l and clear then
|
||||
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)
|
||||
elseif not clear and l and l.cram then
|
||||
damage_mob(l,"cramming",cramming_damage)
|
||||
|
|
Loading…
Reference in a new issue