Skip to content

Commit

Permalink
sleep instead waitUntil
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderDokuchaev committed Nov 10, 2014
1 parent 0f7cef2 commit ac9d85a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/WMT_Main/functions/fn_ShowBriefingInfo.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ if (count _friendlyVehs != 0 ) then {
["diary",localize "STR_WMT_Vehicles", _vehicleTxt] call WMT_fnc_CreateDiaryRecord;
};

waitUntil {time > 0};
sleep 0.01;

if (isNil "WMT_pub_frzState") then {
waitUntil {time > 300 and (diag_tickTime - _beginTime) > 300};
Expand Down

0 comments on commit ac9d85a

Please sign in to comment.