Add comment with reasoning for detach before delete

This commit is contained in:
BaerMitUmlaut 2020-10-11 20:37:59 +02:00
parent 3fa5b6958c
commit 28e0491d3e

View File

@ -20,6 +20,7 @@ private _unit = _clone getVariable [QGVAR(original), objNull];
_unit setPosASL getPosASL _clone; _unit setPosASL getPosASL _clone;
_unit hideObjectGlobal false; _unit hideObjectGlobal false;
// Detach first to prevent objNull in attachedObjects
detach _clone; detach _clone;
deleteVehicle _clone; deleteVehicle _clone;