mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 11:42:38 +03:00
Fix <NULL> kill message fix
fixception
This commit is contained in:
@@ -16,8 +16,8 @@ else
|
||||
_weapon = _weapon select 0;
|
||||
};
|
||||
|
||||
if (_weapon == "" or isNil "_weapon") then {
|
||||
_vehicle = typeOf (vehicle _attacker);
|
||||
_vehicle = typeOf (vehicle _attacker);
|
||||
if ((getText (configFile >> "CfgVehicles" >> _vehicle >> "vehicleClass")) in ["CarW","Car","CarD","Armored","Ship","Support","Air","ArmouredW","ArmouredD","SupportWoodland_ACR"]) then {
|
||||
_weapon = getText (configFile >> "CfgVehicles" >> _vehicle >> "displayName");
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user