mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
less code same logic
This commit is contained in:
@@ -324,12 +324,7 @@ if (!isDedicated) then {
|
||||
};
|
||||
|
||||
player_setDate = {
|
||||
private ["_setdatebool"];
|
||||
_setdatebool = false;
|
||||
if (!([_this, date] call BIS_fnc_areEqual)) exitWith {
|
||||
_setdatebool = true;
|
||||
};
|
||||
if (_setdatebool) then {
|
||||
if (!([_this, date] call BIS_fnc_areEqual)) then {
|
||||
setDate _this;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user