Skip to content

Commit

Permalink
Editor: don't display template's description as popup on project create
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-mogilko authored and ericoporto committed Nov 10, 2024
1 parent 816af69 commit c60f5f8
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Editor/AGS.Editor/GUI/GUIController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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;
}
}
Expand Down

0 comments on commit c60f5f8

Please sign in to comment.