From 1432b95903b0a9248df7b3f8abc0ccc7e35fd257 Mon Sep 17 00:00:00 2001 From: Ciaran Fisher Date: Sat, 12 Oct 2019 16:26:50 +0100 Subject: [PATCH] Update AutoConnect --- Scripts/DCS-SRS-AutoConnectGameGUI.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Scripts/DCS-SRS-AutoConnectGameGUI.lua b/Scripts/DCS-SRS-AutoConnectGameGUI.lua index e23262be1..b5908278f 100644 --- a/Scripts/DCS-SRS-AutoConnectGameGUI.lua +++ b/Scripts/DCS-SRS-AutoConnectGameGUI.lua @@ -148,15 +148,15 @@ SRSAuto.srsNudge = function() for _,v in pairs(net.get_player_list()) do local _player = net.get_player_info(v) - if _player.id ~= 1 then - --filter server owner / user + + if _player.side ~= 0 then _playerByName[_player.name] = _player --SRSAuto.log("SRS NUDGE - Added ".._player.name) end - end + end local fileContent = SRSAuto.readFile(SRSAuto.SRS_NUDGE_PATH);