mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-18 15:33:12 +09:00
inventoryImports: Fixed chat errors when players are dead
This commit is contained in:
1 parent
6c966e2c29
commit
2c2bbb71b4
2 files changed
+2
-2
No files matched your search
@@ -28,7 +28,7 @@ game.print(o)
|
||||
local o = '{"players":{'
|
||||
local notFirst = false
|
||||
for a,b in pairs(game.players) do
|
||||
if b.connected then
|
||||
if b.connected and b.character then
|
||||
if notFirst then
|
||||
o = o .. ','
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user