Remove the tool block from the main menu
Authoring tools open from the in-game toolbar only. Menu and test drivers quit through ApplicationExit.
This commit is contained in:
1 parent
364a0af3d1
commit
57450def43
9 files changed
+23
-53
No files matched your search
@@ -140,10 +140,10 @@ namespace Cthangover.BaseMenu
|
||||
host.GetNodeOrNull<SettingsMenu>("SettingsPanel")?.Open();
|
||||
}
|
||||
|
||||
/// <summary>Quits the application immediately via <c>SceneTree.Quit</c>.</summary>
|
||||
/// <summary>Quits the application after engine mods finish their registered cleanup.</summary>
|
||||
public static void Exit(Control host)
|
||||
{
|
||||
host.GetTree().Quit();
|
||||
Cthangover.Core.Bootstrap.ApplicationExit.Quit(host.GetTree());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user