mirror of
https://github.com/sr229/metastruct-experiments.git
synced 2024-09-20 06:30:36 +00:00
skip entities with empty object descriptors
This commit is contained in:
parent
d9f0a819cd
commit
75dd0bab43
1 changed files with 3 additions and 0 deletions
|
@ -16,6 +16,9 @@ function getRunningChips()
|
||||||
--exclude self
|
--exclude self
|
||||||
if v == chip() then continue end
|
if v == chip() then continue end
|
||||||
|
|
||||||
|
-- do not include empty objects
|
||||||
|
if v == {} then continue end
|
||||||
|
|
||||||
-- check if entry already exists
|
-- check if entry already exists
|
||||||
if itExists(serverMetadata.runningChips, v) then
|
if itExists(serverMetadata.runningChips, v) then
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue