mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Merge pull request #1038 from jwo7777777/AI-Collision-Fix
Fix AI from being counted as zeds.
This commit is contained in:
@@ -31,10 +31,12 @@ dayz_maxGlobalZombies = dayz_maxGlobalZombiesInit;
|
||||
if(isPlayer _x) then {
|
||||
dayz_maxGlobalZombies = dayz_maxGlobalZombies + dayz_maxGlobalZombiesIncrease;
|
||||
} else {
|
||||
if (local _x) then {
|
||||
dayz_spawnZombies = dayz_spawnZombies + 1;
|
||||
if (_x isKindOf "zZombie_Base") then {
|
||||
if (local _x) then {
|
||||
dayz_spawnZombies = dayz_spawnZombies + 1;
|
||||
};
|
||||
dayz_CurrentZombies = dayz_CurrentZombies + 1;
|
||||
};
|
||||
dayz_CurrentZombies = dayz_CurrentZombies + 1;
|
||||
};
|
||||
} foreach _players;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user