Compare commits

...

2 commits

Author SHA1 Message Date
renyang19910211
b07941ed01
Merge 74c6a35352 into 24dddee82e 2025-06-22 22:22:44 +02:00
anysheep
74c6a35352 Fix receive_replication.luau removed issue 2025-06-16 12:27:05 +08:00

View file

@ -74,11 +74,12 @@ return function(world: types.World)
local removed = map.removed
if removed then
for i, e in removed do
if not world:contains(e) then
for _, entity in removed do
entity = ecs_map_get(world, entity)
if not world:contains(entity) then
continue
end
world:remove(e, id)
world:remove(entity, id)
end
end
end