mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Also use DZE_PlayerZed in player death
This commit is contained in:
@@ -8,7 +8,7 @@ _body = player;
|
|||||||
_playerID = getPlayerUID player;
|
_playerID = getPlayerUID player;
|
||||||
|
|
||||||
_infected = 0;
|
_infected = 0;
|
||||||
if (r_player_infected) then {
|
if (r_player_infected && DZE_PlayerZed) then {
|
||||||
_infected = 1;
|
_infected = 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -444,6 +444,9 @@ if(isNil "dayz_maxGlobalZombiesIncrease") then {
|
|||||||
if(isNil "dayz_maxZeds") then {
|
if(isNil "dayz_maxZeds") then {
|
||||||
dayz_maxZeds = 500;
|
dayz_maxZeds = 500;
|
||||||
};
|
};
|
||||||
|
if (isNil "DZE_PlayerZed") then {
|
||||||
|
DZE_PlayerZed = true;
|
||||||
|
};
|
||||||
if(isNil "DZEdebug") then {
|
if(isNil "DZEdebug") then {
|
||||||
DZEdebug = false;
|
DZEdebug = false;
|
||||||
};
|
};
|
||||||
@@ -545,9 +548,6 @@ DZE_Lock_Door = "";
|
|||||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\loot_init.sqf";
|
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\loot_init.sqf";
|
||||||
|
|
||||||
if(isServer) then {
|
if(isServer) then {
|
||||||
if (isNil "DZE_PlayerZed") then {
|
|
||||||
DZE_PlayerZed = true;
|
|
||||||
};
|
|
||||||
dayz_players = [];
|
dayz_players = [];
|
||||||
dead_bodyCleanup = [];
|
dead_bodyCleanup = [];
|
||||||
needUpdate_objects = [];
|
needUpdate_objects = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user