Fix Clearing Systems.

This commit is contained in:
bakpakin 2015-05-04 09:32:04 +08:00
parent e54f29884c
commit 264d835334

View File

@ -555,7 +555,7 @@ end
function tiny.clearSystems(world)
local systems = world.systems
for i = #systems, 1, -1 do
tiny_removeSystem(world, systems[i].system)
tiny_removeSystem(world, systems[i])
end
end