Utilize isNotEqualTo (#7929)

* Utilize isNotEqualTo

* undo changes to some files

* redo some changes, fix based on @Vdauphin 's comment

* fix validator issues

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
This commit is contained in:
Neviothr
2021-02-27 19:05:05 +02:00
committed by GitHub
parent 5a36d1a771
commit 75f7ed7532
117 changed files with 186 additions and 186 deletions

View File

@ -62,7 +62,7 @@ if (GVAR(openedMenuType) >= 0) then {
GVAR(selectedAction) = _action select 1;
GVAR(selectedTarget) = (GVAR(selectedAction)) select 2;
private _misMatch = !(GVAR(lastPath) isEqualTo _hoverPath);
private _misMatch = (GVAR(lastPath) isNotEqualTo _hoverPath);
if(_misMatch && {diag_tickTime-GVAR(expandedTime) > linearConversion [0, 2, GVAR(menuAnimationSpeed), 0.25, 0.08333333]}) then {
GVAR(startHoverTime) = diag_tickTime;