From 6f3a68bd7fbd8eb6aff5428d85ee4fb561a10638 Mon Sep 17 00:00:00 2001 From: He-Man Date: Sun, 3 Sep 2017 19:18:35 +0200 Subject: [PATCH] Workaround for login-issue (BlackScreen) --- .../compile/epoch_player/EPOCH_server_loadPlayer.sqf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sources/epoch_server/compile/epoch_player/EPOCH_server_loadPlayer.sqf b/Sources/epoch_server/compile/epoch_player/EPOCH_server_loadPlayer.sqf index 86c34426..8b06c317 100644 --- a/Sources/epoch_server/compile/epoch_player/EPOCH_server_loadPlayer.sqf +++ b/Sources/epoch_server/compile/epoch_player/EPOCH_server_loadPlayer.sqf @@ -322,6 +322,9 @@ if (!isNull _player) then { deleteVehicle _newPlyr; diag_log "Epoch: DEBUG: _player object was null reject connection"; } else { + // re-add Inventory (needed as workaround for Client / Server synchronizing issue in unitloadout) + _loadout = getUnitLoadout _newPlyr; + _newPlyr setUnitLoadout [_loadout, false]; // add to cleanup addToRemainsCollector[_newPlyr];