diff --git a/A3A/addons/core/functions/init/fn_initSpawnPlaces.sqf b/A3A/addons/core/functions/init/fn_initSpawnPlaces.sqf index 58e5a4a613..19e350aa61 100644 --- a/A3A/addons/core/functions/init/fn_initSpawnPlaces.sqf +++ b/A3A/addons/core/functions/init/fn_initSpawnPlaces.sqf @@ -111,20 +111,20 @@ _vehicleSpawns = []; _size = getMarkerSize _x; _length = (_size select 0) * 2; _width = (_size select 1) * 2; - if(_width < (4 + 2 * SPACING)) then + if(_length < (4 + 2 * SPACING)) then { Error_2("InitSpawnPlaces: Marker %1 is not wide enough for vehicles, required are %2 meters!", _x , (4 + 2 * SPACING)); } else { - if(_length < 10) then + if(_width < 10) then { Error_1("InitSpawnPlaces: Marker %1 is not long enough for vehicles, required are 10 meters!", _x); } else { //Cleaning area - private _radius = vectorDistance [_length, _width]; + private _radius = [0,0] vectorDistance [_length, _width]; if (!isMultiplayer) then { {