mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-04 15:22:53 +03:00
Fix publicVariableEval kicks from RNG fail
RNG can be a cruel mistress. Fixes: Value Restriction #121 "PVDZE_veh_Publish2" = [[99,[4763.93,7521.36,-0.000228882]],"CSJ_GyroCover",false,"ItemKeyBlack958",<NULL-object>,"iN4r7X7Psetsq"] Thanks @AirwavesMan
This commit is contained in:
@@ -26,10 +26,10 @@ _exitReason = switch true do {
|
||||
case (_index < 0): {
|
||||
format["%1 error: PUID NOT FOUND ON SERVER. PV ARRAY: %2",_function,_params]
|
||||
};
|
||||
case (((dayz_serverClientKeys select _index) select 0 != owner _player) or ((dayz_serverClientKeys select _index) select 1 != _clientKey)): {
|
||||
case (((dayz_serverClientKeys select _index) select 0 != owner _player) or !([((dayz_serverClientKeys select _index) select 1),_clientKey] call BIS_fnc_areEqual)): {
|
||||
format["%1 error: CLIENT AUTH KEY INCORRECT OR UNRECOGNIZED. PV ARRAY: %2",_function,_params]
|
||||
};
|
||||
default {""};
|
||||
};
|
||||
|
||||
_exitReason
|
||||
_exitReason
|
||||
|
||||
Reference in New Issue
Block a user