From 97fa187f65ca262c6c6184e6787e46b480e56c47 Mon Sep 17 00:00:00 2001 From: Ayane Satomi Date: Tue, 2 Aug 2022 00:10:52 +0800 Subject: [PATCH] omit chips with nil owners too --- starfallex/serverinfo.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/starfallex/serverinfo.lua b/starfallex/serverinfo.lua index 802e290..aa37407 100644 --- a/starfallex/serverinfo.lua +++ b/starfallex/serverinfo.lua @@ -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