Workaround for login-issue (BlackScreen)

This commit is contained in:
He-Man 2017-09-03 19:18:35 +02:00 committed by GitHub
parent b90026d1ab
commit 6f3a68bd7f

View File

@ -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];