From c60f5f844a7de848b58c31f77cdc671a8784e5fd Mon Sep 17 00:00:00 2001 From: Ivan Mogilko Date: Sun, 29 Jan 2023 20:45:00 +0300 Subject: [PATCH] Editor: don't display template's description as popup on project create --- Editor/AGS.Editor/GUI/GUIController.cs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Editor/AGS.Editor/GUI/GUIController.cs b/Editor/AGS.Editor/GUI/GUIController.cs index d7a1121fbbe..08bfe0cb245 100644 --- a/Editor/AGS.Editor/GUI/GUIController.cs +++ b/Editor/AGS.Editor/GUI/GUIController.cs @@ -23,7 +23,6 @@ public class GUIController : IGUIController public const string FILE_MENU_ID = "fileToolStripMenuItem"; public const string HELP_MENU_ID = "HelpMenu"; private const string CONTROL_ID_SPLIT = "^!^"; - private const string TEMPLATE_INTRO_FILE = "template.txt"; private const string ROOM_TEMPLATE_ID_FILE = "rtemplate.dat"; private const int ROOM_TEMPLATE_ID_FILE_SIGNATURE = 0x74673812; private const string WINDOW_CONFIG_FILENAME = "WindowConfig.json"; @@ -1153,14 +1152,6 @@ private bool CreateNewGame(string newGamePath, string newFileName, string newGam Factory.AGSEditor.Settings.MessageBoxOnCompile = oldMessageBoxSetting; } - if (File.Exists(TEMPLATE_INTRO_FILE)) - { - StreamReader sr = new StreamReader(TEMPLATE_INTRO_FILE); - string introText = sr.ReadToEnd(); - sr.Close(); - - Factory.GUIController.ShowMessage(introText, MessageBoxIcon.Information); - } createdSuccessfully = true; } }