From 66ef8aca76e611f2ca38e11faabb74719e683549 Mon Sep 17 00:00:00 2001 From: Bailey Danyluk Date: Thu, 29 Aug 2024 23:48:53 -0600 Subject: [PATCH] change to shallow copy --- addons/missileguidance/functions/fnc_gps_getAttackData.sqf | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/addons/missileguidance/functions/fnc_gps_getAttackData.sqf b/addons/missileguidance/functions/fnc_gps_getAttackData.sqf index c45afa74c8..7101cefd9f 100644 --- a/addons/missileguidance/functions/fnc_gps_getAttackData.sqf +++ b/addons/missileguidance/functions/fnc_gps_getAttackData.sqf @@ -22,9 +22,5 @@ if (GVAR(gps_mode) isEqualTo "too") then { }; // create a copy of this array to make sure values are not overwritten -[ - GVAR(gps_currentSettings)#0, - GVAR(gps_currentSettings)#1, - GVAR(gps_currentSettings)#2 -] ++GVAR(gps_currentSettings) // return