In latest dev build of the game (151133) it is no longer possible to keep ESC menu from closing after you script enable and press SAVE button when its ButtonClick event returns true
Description
Description
Details
Details
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Category
- Scripting
Steps To Reproduce
- Start attached mission in multiplayer as listen server
- Press ESC, then press SAVE button
- The menu will close in dev branch while it won't close in stable branch
Additional Information
Repro mission script:
waitUntil {player == player}; 0 spawn { while{true} do { waitUntil {!isNull findDisplay 49}; private _display = findDisplay 49; private _save_button = _display displayCtrl 103; _save_button ctrlEnable true; _save_button ctrlAddEventHandler ["ButtonClick", { _this select 0 ctrlSetText "Menu should not close"; true; }]; waitUntil{isNull _display}; }; };