mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Repair - Fix script error if vehicle is null (#9479)
This commit is contained in:
parent
bd377c49fc
commit
58cedab493
@ -28,6 +28,7 @@ TRACE_2("addRepairActions", _vehicle,_type);
|
||||
// do nothing if the class is already initialized
|
||||
private _initializedClasses = GETMVAR(GVAR(initializedClasses),[]);
|
||||
if (_type in _initializedClasses) exitWith {};
|
||||
if (_type == "") exitWith {};
|
||||
|
||||
// get selections to ignore
|
||||
private _selectionsToIgnore = _vehicle call FUNC(getSelectionsToIgnore);
|
||||
|
Loading…
Reference in New Issue
Block a user