From 3c4b3a7f68e2f9e193e0549f28a71afc6634613f Mon Sep 17 00:00:00 2001 From: Bob Gardner Date: Sun, 23 Feb 2020 16:45:01 -0800 Subject: [PATCH] Fixed nil entitylist in nocache system Systems that set nocache to true would fail as the entity list was set to system.world.entityList but should have been system.world.entities. --- tiny.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiny.lua b/tiny.lua index 721799b..98dd5a6 100644 --- a/tiny.lua +++ b/tiny.lua @@ -309,7 +309,7 @@ local function processingSystemUpdate(system, dt) if process then if system.nocache then - local entities = system.world.entityList + local entities = system.world.entities local filter = system.filter if filter then for i = 1, #entities do