mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-10-04 18:49:34 +03:00
less code same logic
This commit is contained in:
1 parent
725b4aa2b2
commit
a70199aae4
1 file changed
+1
-6
@@ -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