mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
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:
parent
0acbde1489
commit
fd815c5ed8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user