mirror of
https://github.com/bakpakin/tiny-ecs.git
synced 2024-11-17 04:44:23 +00:00
Merge pull request #21 from RantingBob/patch-1
Fixed nil entitylist in nocache system
This commit is contained in:
commit
e095e10d44
2
tiny.lua
2
tiny.lua
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user