mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-04 15:22:53 +03:00
Merge pull request #1101 from icomrade/master
Fix <NULL> kill message fix
This commit is contained in:
@@ -16,8 +16,8 @@ else
|
|||||||
_weapon = _weapon select 0;
|
_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");
|
_weapon = getText (configFile >> "CfgVehicles" >> _vehicle >> "displayName");
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user