mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-10-05 03:49:34 +03:00
Fix error from 4b14397
This commit is contained in:
1 parent
75cf8648d7
commit
3bdbc020c4
1 file changed
+1
-1
@@ -88,7 +88,7 @@ _key call server_hiveWrite;
|
||||
//_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;
|
||||
if (surfaceIsWater _location && {count (_location nearEntities ["Ship",8]) == 0}) then {
|
||||
if (surfaceIsWater _location && {({_x != _object} count (_location nearEntities ["Ship",8])) == 0}) then {
|
||||
//createVehicle "NONE" is especially inaccurate in water
|
||||
_object setPos _location;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user