mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-06-13 21:31:56 +03:00
Remove some redundant checks
Vanilla commits: https://github.com/DayZMod/DayZ/commit/da7061429a8cda4d31f95bcfdf564e4b255bbcfb https://github.com/DayZMod/DayZ/commit/da55eaa53e2a9bda3a30733785b2e0f5b540bb53
This commit is contained in:
@@ -2,8 +2,11 @@
|
||||
|
||||
sched_playerActions = {
|
||||
HIDE_FSM_VARS
|
||||
call fnc_usec_selfActions;
|
||||
call fnc_usec_damageActions;
|
||||
|
||||
if (!dayz_actionInProgress) then {
|
||||
call fnc_usec_selfActions;
|
||||
call fnc_usec_damageActions;
|
||||
};
|
||||
|
||||
//combat check
|
||||
if ((player getVariable ["combattimeout",0] < diag_tickTime) && {player getVariable ["inCombat",false]}) then {
|
||||
|
||||
Reference in New Issue
Block a user