浏览代码

Add to zeus

m3ales 4 年之前
父节点
当前提交
8ff2b03d36
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      addons - Copy/RD501_Droid_Dispenser/functions/fnc_droidDispenserPFH.sqf

+ 6 - 0
addons - Copy/RD501_Droid_Dispenser/functions/fnc_droidDispenserPFH.sqf

@@ -41,5 +41,11 @@ if(_aliveUnits < _target getVariable QGVAR(maxUnits)) exitWith
 	_unit = _group createUnit [_selectedUnit, position _target, [], 0, "NONE"];
 	_unit call ace_common_fnc_fixPosition;
 	_unit commandMove (_unit getPos [25, 0]);
+	[{
+		params["_unit"];
+		{
+			_x addCuratorEditableObjects [[_unit], true];
+		} forEach allCurators;
+	}, _unit] call CBA_fnc_execNextFrame;
 };
 LOGF_1("%1 not spawning anything",_target);