mirror of
https://github.com/bakpakin/tiny-ecs.git
synced 2026-07-21 23:56:50 -06:00
Fix Clearing Systems.
This commit is contained in:
@@ -555,7 +555,7 @@ end
|
|||||||
function tiny.clearSystems(world)
|
function tiny.clearSystems(world)
|
||||||
local systems = world.systems
|
local systems = world.systems
|
||||||
for i = #systems, 1, -1 do
|
for i = #systems, 1, -1 do
|
||||||
tiny_removeSystem(world, systems[i].system)
|
tiny_removeSystem(world, systems[i])
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user