Merge pull request #847 from Ignatz-HeMan/patch-9

Workaround for login-issue (BlackScreen)
This commit is contained in:
vbawol 2017-09-03 12:52:39 -05:00 committed by GitHub
commit d689d61dc9

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