omit chips with nil owners too

This commit is contained in:
Ayane Satomi 2022-08-02 00:10:52 +08:00
parent 75dd0bab43
commit 97fa187f65
No known key found for this signature in database
GPG key ID: 431E3C36BEBE204B

View file

@ -19,6 +19,9 @@ function getRunningChips()
-- do not include empty objects
if v == {} then continue end
-- do not include objects with no owner
if not v:getOwner() then continue end
-- check if entry already exists
if itExists(serverMetadata.runningChips, v) then
continue