Skip to content

Commit

Permalink
Merge pull request #1515 from BaerMitUmlaut/fix-json-scheduled
Browse files Browse the repository at this point in the history
  • Loading branch information
commy2 committed Dec 18, 2021
2 parents ac0895b + 5e6f87b commit 6ddc6e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/hashes/fnc_encodeJSON.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ switch (typeName _object) do {

private _json = ((allVariables _object) apply {
private _name = _x;
private _value = _object getVariable _name;
private _value = _object getVariable [_name, objNull];

format ["%1: %2", [_name] call CBA_fnc_encodeJSON, [_value] call CBA_fnc_encodeJSON]
}) joinString ", ";
Expand Down

0 comments on commit 6ddc6e8

Please sign in to comment.