mirror of
https://github.com/bakpakin/tiny-ecs.git
synced 2024-11-28 23:54:21 +00:00
Fix Clearing Systems.
This commit is contained in:
parent
e54f29884c
commit
264d835334
2
tiny.lua
2
tiny.lua
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user