Update EPOCH_server_lootAnimal.sqf

Fixed the issue with vanilla Ryan Zombies in the Zed spawner not spawning correct zombie loot (they spawn loot from the default SeaFood table instead)
This commit is contained in:
Grahame 2021-04-08 17:43:24 -04:00 committed by GitHub
parent 4d88db85a7
commit 57d6764e9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,6 +25,9 @@ if !(isNull _object) then {
if (_classOverride != "") then {
_objectClass = _classOverride;
};
if ((_object isKindOf "RyanZombieC_man_1") || (_object isKindOf "RyanZombieB_Soldier_base_F")) then {
_objectClass = "EPOCH_RyanZombie_1";
};
deleteVehicle _object;
_item = createVehicle["groundWeaponHolder", [0,0,0], [], 0.0, "CAN_COLLIDE"];
if (_objectClass isequalto "GreatWhite_F") then {