less code same logic

This commit is contained in:
[VB]AWOL
2013-11-29 01:35:30 -06:00
parent 725b4aa2b2
commit a70199aae4

View File

@@ -324,12 +324,7 @@ if (!isDedicated) then {
}; };
player_setDate = { player_setDate = {
private ["_setdatebool"]; if (!([_this, date] call BIS_fnc_areEqual)) then {
_setdatebool = false;
if (!([_this, date] call BIS_fnc_areEqual)) exitWith {
_setdatebool = true;
};
if (_setdatebool) then {
setDate _this; setDate _this;
}; };
}; };