Skip to content

Commit 837a7e5

Browse files
authored
Update fn_createStaticWeapons.sqf
1 parent 55d0091 commit 837a7e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Missionframework/functions/fn_createStaticWeapons.sqf

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ if (count _allGarrisons > 0) then {
8989
}
9090
};
9191

92-
if (_staticClass isEqualTo "") exitWith {[format ["No static weapon classname found in %1", _typeSel], "WARNING"] call KPLIB_fnc_log;};
92+
if (_staticClass isEqualTo "") then {[format ["No static weapon classname found in type %1", _typeSel], "WARNING"] call KPLIB_fnc_log; continue};
9393

9494
// Create the static weapon and it's crew
9595
_weapon = [(_garrison modelToWorld _relPos), _staticClass, _relDir] call KPLIB_fnc_spawnStaticWeapon;

0 commit comments

Comments
 (0)