AGS.Editor.Components.BuildCommandsComponent._agsEditor_AttemptToSaveGame C# (CSharp) Method

_agsEditor_AttemptToSaveGame() private method

private _agsEditor_AttemptToSaveGame ( bool &allowSave ) : void
allowSave bool
return void
        private void _agsEditor_AttemptToSaveGame(ref bool allowSave)
        {
            if (_testGameInProgress)
            {
                _guiController.ShowMessage("You cannot save your changes while the game is being tested. Close the game first.", MessageBoxIcon.Warning);
                allowSave = false;
            }
        }