mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Remove unused PVEH
I'm guessing the 1 in place of I in the PV names was intentional to work around some BE filter. If not, it should be changed in vanilla.
This commit is contained in:
@@ -16,8 +16,8 @@ if (_damage > 0) then {
|
||||
_total = (damage _obj) + _damage;
|
||||
|
||||
if (!isServer) then {
|
||||
PVDZ_obj_Save = [_obj,"objWallDamage",_total];
|
||||
publicVariableServer "PVDZ_obj_Save";
|
||||
PVDZ_veh_Save = [_obj,"objWallDamage",_total];
|
||||
publicVariableServer "PVDZ_veh_Save";
|
||||
} else {
|
||||
[_obj,"objWallDamage",_total] call server_updateObject;
|
||||
};
|
||||
|
||||
@@ -37,8 +37,8 @@ if (local _unit) then {
|
||||
_unit setHit [_selection, _total];
|
||||
|
||||
if (!isServer) then {
|
||||
PVDZ_obj_Save = [_unit,"damage"];
|
||||
publicVariableServer "PVDZ_obj_Save";
|
||||
PVDZ_veh_Save = [_unit,"damage"];
|
||||
publicVariableServer "PVDZ_veh_Save";
|
||||
} else {
|
||||
[_unit, "damage"] call server_updateObject;
|
||||
};
|
||||
|
||||
@@ -14,11 +14,11 @@ if (isServer) then {
|
||||
[_unit, "killed"] call server_updateObject;
|
||||
} else {
|
||||
if (DZE_Debug_Damage && ((!isPlayer _unit) || ((isPlayer _unit) && (vehicle _unit != _unit) && (_unit != _killer)))) then {
|
||||
PVDZ_obj_Save = [_unit, "killed",_killer];
|
||||
PVDZ_veh_Save = [_unit, "killed",_killer];
|
||||
} else {
|
||||
PVDZ_obj_Save = [_unit, "killed"];
|
||||
PVDZ_veh_Save = [_unit, "killed"];
|
||||
};
|
||||
publicVariableServer "PVDZ_obj_Save";
|
||||
publicVariableServer "PVDZ_veh_Save";
|
||||
};
|
||||
|
||||
// everyone removes their EH for this vehicle
|
||||
|
||||
Reference in New Issue
Block a user