Merge pull request #21 from RantingBob/patch-1

Fixed nil entitylist in nocache system
This commit is contained in:
Calvin Rose 2020-02-23 21:21:05 -06:00 committed by GitHub
commit e095e10d44
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 process then
if system.nocache then if system.nocache then
local entities = system.world.entityList local entities = system.world.entities
local filter = system.filter local filter = system.filter
if filter then if filter then
for i = 1, #entities do for i = 1, #entities do