Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hashes - Fix nil throwing errors in scheduled environment #1515

Merged
merged 1 commit into from
Dec 18, 2021

Conversation

BaerMitUmlaut
Copy link
Contributor

When merged this pull request will:

  • Fixes popup error when running CBA_fnc_encodeJSON on an object with nil variables

Repro:

private _foo = call CBA_fnc_createNamespace;
_foo setVariable ["bar", nil];
_foo spawn CBA_fnc_encodeJSON;

@PabstMirror PabstMirror added this to the 3.15.7 milestone Oct 27, 2021
@commy2
Copy link
Contributor

commy2 commented Oct 27, 2021

OP code should be added to unit test.

@commy2 commy2 merged commit 6ddc6e8 into CBATeam:master Dec 18, 2021
@jonpas jonpas changed the title Fix nil throwing errors in scheduled environment Hashes - Fix nil throwing errors in scheduled environment Dec 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants