diff --git a/@ExileServer/addons/a3_dms/missions/MM1.sqf b/@ExileServer/addons/a3_dms/missions/MM1.sqf index b4fd7b7..9043351 100644 --- a/@ExileServer/addons/a3_dms/missions/MM1.sqf +++ b/@ExileServer/addons/a3_dms/missions/MM1.sqf @@ -35,7 +35,7 @@ uiSleep 1; ["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast; // Run Cleanup -[_pos] call DMS_CleanUp; +[_pos,_crate] call DMS_CleanUp; uiSleep 150; diff --git a/@ExileServer/addons/a3_dms/missions/MM10.sqf b/@ExileServer/addons/a3_dms/missions/MM10.sqf index 29f76fa..0b769e3 100644 --- a/@ExileServer/addons/a3_dms/missions/MM10.sqf +++ b/@ExileServer/addons/a3_dms/missions/MM10.sqf @@ -41,7 +41,7 @@ uiSleep 1; ["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast; // Run Cleanup -[_pos] call DMS_CleanUp; +[_pos,_crate] call DMS_CleanUp; uiSleep 150; diff --git a/@ExileServer/addons/a3_dms/missions/MM2.sqf b/@ExileServer/addons/a3_dms/missions/MM2.sqf index 71ab243..c4db297 100644 --- a/@ExileServer/addons/a3_dms/missions/MM2.sqf +++ b/@ExileServer/addons/a3_dms/missions/MM2.sqf @@ -40,7 +40,7 @@ uiSleep 1; ["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast; // Run Cleanup -[_pos] call DMS_CleanUp; +[_pos,_crate] call DMS_CleanUp; uiSleep 150; diff --git a/@ExileServer/addons/a3_dms/missions/MM3.sqf b/@ExileServer/addons/a3_dms/missions/MM3.sqf index 4103e70..1e851cd 100644 --- a/@ExileServer/addons/a3_dms/missions/MM3.sqf +++ b/@ExileServer/addons/a3_dms/missions/MM3.sqf @@ -39,7 +39,7 @@ uiSleep 1; // Run Cleanup -[_pos] call DMS_CleanUp; +[_pos,_crate] call DMS_CleanUp; diff --git a/@ExileServer/addons/a3_dms/missions/MM4.sqf b/@ExileServer/addons/a3_dms/missions/MM4.sqf index 560efd0..f996ee6 100644 --- a/@ExileServer/addons/a3_dms/missions/MM4.sqf +++ b/@ExileServer/addons/a3_dms/missions/MM4.sqf @@ -41,7 +41,7 @@ uiSleep 1; ["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast; // Run Cleanup -[_pos] call DMS_CleanUp; +[_pos,_crate] call DMS_CleanUp; uiSleep 150; diff --git a/@ExileServer/addons/a3_dms/missions/MM5.sqf b/@ExileServer/addons/a3_dms/missions/MM5.sqf index 7b54ee3..2cc54ba 100644 --- a/@ExileServer/addons/a3_dms/missions/MM5.sqf +++ b/@ExileServer/addons/a3_dms/missions/MM5.sqf @@ -43,7 +43,7 @@ uiSleep 1; ["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast; // Run Cleanup -[_pos] call DMS_CleanUp; +[_pos,_crate] call DMS_CleanUp; uiSleep 150; diff --git a/@ExileServer/addons/a3_dms/missions/MM6.sqf b/@ExileServer/addons/a3_dms/missions/MM6.sqf index d71b5c1..927458a 100644 --- a/@ExileServer/addons/a3_dms/missions/MM6.sqf +++ b/@ExileServer/addons/a3_dms/missions/MM6.sqf @@ -41,7 +41,7 @@ uiSleep 1; ["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast; // Run Cleanup -[_pos] call DMS_CleanUp; +[_pos,_crate] call DMS_CleanUp; diff --git a/@ExileServer/addons/a3_dms/missions/MM7.sqf b/@ExileServer/addons/a3_dms/missions/MM7.sqf index 18f988a..4ec1d24 100644 --- a/@ExileServer/addons/a3_dms/missions/MM7.sqf +++ b/@ExileServer/addons/a3_dms/missions/MM7.sqf @@ -41,7 +41,7 @@ uiSleep 1; ["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast; // Run Cleanup -[_pos] call DMS_CleanUp; +[_pos,_crate] call DMS_CleanUp; uiSleep 150; diff --git a/@ExileServer/addons/a3_dms/missions/MM8.sqf b/@ExileServer/addons/a3_dms/missions/MM8.sqf index 8c5f17f..701586a 100644 --- a/@ExileServer/addons/a3_dms/missions/MM8.sqf +++ b/@ExileServer/addons/a3_dms/missions/MM8.sqf @@ -42,7 +42,7 @@ uiSleep 1; ["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast; // Run Cleanup -[_pos] call DMS_CleanUp; +[_pos,_crate] call DMS_CleanUp; uiSleep 150; diff --git a/@ExileServer/addons/a3_dms/missions/MM9.sqf b/@ExileServer/addons/a3_dms/missions/MM9.sqf index 5224646..85fe94e 100644 --- a/@ExileServer/addons/a3_dms/missions/MM9.sqf +++ b/@ExileServer/addons/a3_dms/missions/MM9.sqf @@ -40,7 +40,7 @@ uiSleep 1; ["standardHintRequest",["Mission has ended, good job!"]] call ExileServer_system_network_send_broadcast; // Run Cleanup -[_pos] call DMS_CleanUp; +[_pos,_crate] call DMS_CleanUp; uiSleep 150; diff --git a/@ExileServer/addons/a3_dms/scripts/DMS_cleanup.sqf b/@ExileServer/addons/a3_dms/scripts/DMS_cleanup.sqf index 016b1b0..b598e87 100644 --- a/@ExileServer/addons/a3_dms/scripts/DMS_cleanup.sqf +++ b/@ExileServer/addons/a3_dms/scripts/DMS_cleanup.sqf @@ -1,5 +1,6 @@ -private ["_pos"]; +private ["_pos","_crate"]; _pos = _this select 0; +_crate = _this select 0; deleteMarker "DMS_MainMarker"; deleteMarker "DMS_MainDot"; uiSleep DMS_CleanUpTimer; @@ -16,7 +17,7 @@ uiSleep DMS_CleanUpTimer; _x removeAllEventHandlers "GetIn"; _x removeAllEventHandlers "Local"; // clearVehicleInit _this; - deleteVehicle _x; + deleteVehicle _crate; deleteGroup (group _x); _x = nil; diff --git a/Pre-Packed PBO/a3_dms.pbo b/Pre-Packed PBO/a3_dms.pbo index 3552276..5833322 100644 Binary files a/Pre-Packed PBO/a3_dms.pbo and b/Pre-Packed PBO/a3_dms.pbo differ