mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixed incorrect return values in some key handlers:
*Wind info *Protractor
This commit is contained in:
@ -22,9 +22,9 @@ if (GVAR(Protractor)) exitWith {
|
|||||||
1 cutText ["", "PLAIN"];
|
1 cutText ["", "PLAIN"];
|
||||||
true
|
true
|
||||||
};
|
};
|
||||||
if (weaponLowered ACE_player) exitWith { true };
|
if (weaponLowered ACE_player) exitWith { false };
|
||||||
if (vehicle ACE_player != ACE_player) exitWith { true };
|
if (vehicle ACE_player != ACE_player) exitWith { false };
|
||||||
if (currentWeapon ACE_player != primaryWeapon ACE_player) exitWith { true };
|
if (currentWeapon ACE_player != primaryWeapon ACE_player) exitWith { false };
|
||||||
|
|
||||||
2 cutText ["", "PLAIN"];
|
2 cutText ["", "PLAIN"];
|
||||||
EGVAR(weather,WindInfo) = false;
|
EGVAR(weather,WindInfo) = false;
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
// Statement
|
// Statement
|
||||||
[] call FUNC(displayProtractor);
|
[] call FUNC(displayProtractor);
|
||||||
false
|
|
||||||
},
|
},
|
||||||
{false},
|
{false},
|
||||||
[37, [true, true, false]], false, 0] call CBA_fnc_addKeybind; // (CTRL + SHIFT + K)
|
[37, [true, true, false]], false, 0] call CBA_fnc_addKeybind; // (CTRL + SHIFT + K)
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
|
|
||||||
// Statement
|
// Statement
|
||||||
[] call FUNC(displayWindInfo);
|
[] call FUNC(displayWindInfo);
|
||||||
false
|
|
||||||
},
|
},
|
||||||
{false},
|
{false},
|
||||||
[37, [true, false, false]], false, 0] call CBA_fnc_addKeybind; // (SHIFT + K)
|
[37, [true, false, false]], false, 0] call CBA_fnc_addKeybind; // (SHIFT + K)
|
||||||
|
@ -19,8 +19,8 @@ if (GVAR(WindInfo)) exitWith {
|
|||||||
0 cutText ["", "PLAIN"];
|
0 cutText ["", "PLAIN"];
|
||||||
true
|
true
|
||||||
};
|
};
|
||||||
if (underwater ACE_player) exitWith { true };
|
if (underwater ACE_player) exitWith { false };
|
||||||
if (vehicle ACE_player != ACE_player) exitWith { true };
|
if (vehicle ACE_player != ACE_player) exitWith { false };
|
||||||
|
|
||||||
2 cutText ["", "PLAIN"];
|
2 cutText ["", "PLAIN"];
|
||||||
EGVAR(advanced_ballistics,Protractor) = false;
|
EGVAR(advanced_ballistics,Protractor) = false;
|
||||||
|
Reference in New Issue
Block a user