Faster feedback from Targets

reaveal player to all near objects on Epoch-ActionKey pressed.
Whithout this, upgraded Buildings need up to 10 seconds to get in Target.
This commit is contained in:
He-Man 2017-02-16 23:34:48 +01:00 committed by GitHub
parent fa05a9d9eb
commit fb9882185d

View File

@ -83,6 +83,7 @@ if (_dikCode == EPOCH_keysDebugMon) then {
//Action Menu
if (_dikCode == EPOCH_keysAction) then {
//_handled = true;
{player reveal _x;} foreach (player nearObjects 50);
if !(EPOCH_keysActionPressed) then {
EPOCH_keysActionPressed = true;
if (cursorTarget isKindOf "AllVehicles") then {