mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Small AutoRun fixes
This commit is contained in:
parent
1efca0123e
commit
b743a9be31
@ -19,6 +19,9 @@
|
||||
|
||||
private["_canAutoRun","_currentPos"];
|
||||
_canAutoRun = true;
|
||||
if !(alive player) exitwith {
|
||||
false
|
||||
};
|
||||
if !(istouchingground player) exitwith {
|
||||
false
|
||||
};
|
||||
|
@ -62,6 +62,8 @@ EPOCH_buildMode = 0;
|
||||
EPOCH_snapDirection = 0;
|
||||
EPOCH_Target = objNull;
|
||||
|
||||
EPOCH_IsAutoRunning = false;
|
||||
|
||||
// playerKilledScreen
|
||||
_playerKilledScreen = getText(_config >> "playerKilledScreen");
|
||||
if (_playerKilledScreen isEqualTo "") then {_playerKilledScreen = "TapOut2"};
|
||||
|
@ -2,11 +2,10 @@
|
||||
|
||||
if (EPOCH_IsAutoRunning) then {
|
||||
if (call EPOCH_AutoRun_Check) then {
|
||||
call EPOCH_AutoRun
|
||||
call EPOCH_AutoRun;
|
||||
}
|
||||
else {
|
||||
EPOCH_IsAutoRunning = false;
|
||||
player switchMove "";
|
||||
["Autorun stopped",5] call Epoch_Message;
|
||||
EPOCH_IsAutoRunning = false;
|
||||
player switchMove "";
|
||||
};
|
||||
};
|
Loading…
Reference in New Issue
Block a user