Compare commits

...

2 commits

Author SHA1 Message Date
renyang19910211
43f9e7bc72
Merge 74c6a35352 into 37f1e5be52 2025-06-20 23:40:22 -04: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 local removed = map.removed
if removed then if removed then
for i, e in removed do for _, entity in removed do
if not world:contains(e) then entity = ecs_map_get(world, entity)
if not world:contains(entity) then
continue continue
end end
world:remove(e, id) world:remove(entity, id)
end end
end end
end end