From a4ad75a564bd9a8ed452fe078d658911ac54dd82 Mon Sep 17 00:00:00 2001 From: Alex Crooks Date: Sat, 7 Jan 2017 01:04:58 +0000 Subject: [PATCH] Fix for double quote splitString --- addons/main/functions/fnc_shotTemplate.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/main/functions/fnc_shotTemplate.sqf b/addons/main/functions/fnc_shotTemplate.sqf index eeb9ecd..8638b03 100644 --- a/addons/main/functions/fnc_shotTemplate.sqf +++ b/addons/main/functions/fnc_shotTemplate.sqf @@ -47,7 +47,7 @@ if(vehicle _attacker == _attacker) then { }; // Remove any rogue double quotes that mess with json -private _attackerWeapon = _attackerWeapon splitString '"' joinString ""; +_attackerWeapon = (_attackerWeapon splitString """") joinString ""; // Form JSON for saving private _json = format['