From a70199aae454ee1ffb88c239fd1ff08597a0e9c3 Mon Sep 17 00:00:00 2001 From: "[VB]AWOL" Date: Fri, 29 Nov 2013 01:35:30 -0600 Subject: [PATCH] less code same logic --- SQF/dayz_code/init/compiles.sqf | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/SQF/dayz_code/init/compiles.sqf b/SQF/dayz_code/init/compiles.sqf index 82c576269..e6d5f55fc 100644 --- a/SQF/dayz_code/init/compiles.sqf +++ b/SQF/dayz_code/init/compiles.sqf @@ -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; }; };