mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-20 18:36:29 +03:00
Update purchased vehicle spawn location
If there was no helipad available findSafePos was called. If that failed it spawned the vehicle in the debug zone. Calling findSafePos is no longer necessary since we are now using createVehicle "NONE".
This commit is contained in:
@@ -74,6 +74,7 @@ _key call server_hiveWrite;
|
||||
_object = _class createVehicle [0,0,0];
|
||||
} else {
|
||||
//_object = createVehicle [_class, _location, [], 0, "CAN_COLLIDE"];
|
||||
// Don't use setPos or CAN_COLLIDE here. It will spawn inside other vehicles
|
||||
_object = _class createVehicle _location;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user