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.
This commit is contained in:
Bob Gardner 2020-02-23 16:45:01 -08:00 committed by GitHub
parent 0f17f116ab
commit 3c4b3a7f68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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