Skip to content

Commit

Permalink
added a failsafe
Browse files Browse the repository at this point in the history
  • Loading branch information
AdlerSalbei authored Nov 21, 2020
1 parent a3d9b0f commit f92b66c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions/client/fn_blend.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ if (_blendOut >= 0) then {
_titleText params ["", "_text"];
[_text ] spawn BIS_fnc_infoText;
};
default {};
default {hint "Wrong string supplied to grad-introCam";};
};

if (_blendIn >= 0) then {
Expand All @@ -55,4 +55,4 @@ if (_blendOut >= 0) then {

};

}, [_titleText, _blendIn, _blendOut, _duration], _blendOut] call CBA_fnc_waitAndExecute;
}, [_titleText, _blendIn, _blendOut, _duration], _blendOut] call CBA_fnc_waitAndExecute;

0 comments on commit f92b66c

Please sign in to comment.