mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-04-17 09:53:21 +03:00
Replace forEach with Count
Use count where you do not need _forEachIndex variable, it's quicker than forEach.
This commit is contained in:
@@ -31,7 +31,7 @@ r_interrupt = false;
|
||||
|
||||
while {_isOk} do {
|
||||
|
||||
if (r_interrupt or (player getVariable["combattimeout", 0] >= time)) then {
|
||||
if (r_interrupt || (player getVariable["combattimeout", 0] >= time)) then {
|
||||
_isOk = false;
|
||||
cutText [(localize "str_epoch_player_68"), "PLAIN DOWN"];
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user