Serialize spectator help control variable (#6023)

Could result in an on-screen error if the spectator API was used in a scheduled environment.
This commit is contained in:
SilentSpike 2018-01-05 20:41:43 +00:00 committed by GitHub
parent 0acbde1489
commit fd815c5ed8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,6 +115,7 @@ if (count _controls > MAX_CONTROLS_HELP_ENTRIES) then {
_controls resize MAX_CONTROLS_HELP_ENTRIES;
};
disableSerialization; // This function could run scheduled as a result of public API
private _help = CTRL_HELP;
_help ctrlEnable false;