We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55d0091 commit 837a7e5Copy full SHA for 837a7e5
Missionframework/functions/fn_createStaticWeapons.sqf
@@ -89,7 +89,7 @@ if (count _allGarrisons > 0) then {
89
}
90
};
91
92
- if (_staticClass isEqualTo "") exitWith {[format ["No static weapon classname found in %1", _typeSel], "WARNING"] call KPLIB_fnc_log;};
+ if (_staticClass isEqualTo "") then {[format ["No static weapon classname found in type %1", _typeSel], "WARNING"] call KPLIB_fnc_log; continue};
93
94
// Create the static weapon and it's crew
95
_weapon = [(_garrison modelToWorld _relPos), _staticClass, _relDir] call KPLIB_fnc_spawnStaticWeapon;
0 commit comments