From 264d8353345187cb4246e049f534aefdccdc7cb7 Mon Sep 17 00:00:00 2001 From: bakpakin Date: Mon, 4 May 2015 09:32:04 +0800 Subject: [PATCH] Fix Clearing Systems. --- tiny.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiny.lua b/tiny.lua index 63451d1..06ae4cc 100644 --- a/tiny.lua +++ b/tiny.lua @@ -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