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

Add return value to cba_fnc_preStart #1057

Merged
merged 1 commit into from
Feb 8, 2019
Merged

Add return value to cba_fnc_preStart #1057

merged 1 commit into from
Feb 8, 2019

Conversation

PabstMirror
Copy link
Contributor

Fix

 [0,9.635,0,"XEH: PreStart finished."]
 Error in expression <",_x] call bis_fnc_logFormat;
_function = [] call (uinamespace getvariable _x);
>
   Error position: <= [] call (uinamespace getvariable _x);
>
   Error Generic error in expression
 File A3\functions_f\initFunctions.sqf, line 499

a3 does

			_function = [] call (uinamespace getvariable _x);
			uinamespace setvariable [_x + "_preStart",_function];

and c = call {a=b} throws error

@commy2 commy2 added this to the 3.10 milestone Feb 8, 2019
@commy2 commy2 merged commit f9e5099 into master Feb 8, 2019
@commy2
Copy link
Contributor

commy2 commented Feb 8, 2019

Remember that one time when I said to never end your function with an assignment operator?

@commy2 commy2 deleted the preStartReturnValue branch February 8, 2019 21:25
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