mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 13:26:39 +03:00
Change ItemGenerator to WeaponHolder_ItemGenerator
With WeaponHolder_ItemGenerator we do not need the postion set up in the spawn.sqf
This commit is contained in:
@@ -45,11 +45,6 @@ call {
|
||||
_vehicle = "WeaponHolder" createVehicle [0,0,0];
|
||||
_vehicle addMagazineCargoGlobal [_item, 1];
|
||||
|
||||
// Fix generator spawning half way in the floor by raising z coordinate by .3 meters.
|
||||
if (_item == "ItemGenerator") then {
|
||||
_pos set [2, ((_pos select 2) + .3)];
|
||||
};
|
||||
|
||||
if (_isWater) then {
|
||||
_vehicle setPos (_pos);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user