Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.

Commit

Permalink
Fix for double quote splitString
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcroox committed Jan 7, 2017
1 parent 97b0c74 commit a4ad75a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/main/functions/fnc_shotTemplate.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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['
Expand Down

0 comments on commit a4ad75a

Please sign in to comment.