mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-01 18:26:41 +00:00
Disabled Atlas Editor from main menu for the time being (it'll be accessible from shortcut).
This was SVN commit r2621.
This commit is contained in:
@@ -127,20 +127,20 @@
|
||||
>
|
||||
<action on="Load"><![CDATA[
|
||||
// Disable the Editor button if the Atlas DLL is not active.
|
||||
if (ATLAS_IsAvailable() == true)
|
||||
{
|
||||
this.enabled == true;
|
||||
this.tooltip = "Open 'Atlas', 0 A.D.'s Scenario Editor.";
|
||||
}
|
||||
else
|
||||
{
|
||||
this.enabled == false;
|
||||
// if (ATLAS_IsAvailable() == true)
|
||||
// {
|
||||
// this.enabled = true;
|
||||
// this.tooltip = "Open 'Atlas', 0 A.D.'s Scenario Editor.";
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
this.enabled = false;
|
||||
this.tooltip = "The Scenario Editor is not currently available.";
|
||||
}
|
||||
</action>
|
||||
// }
|
||||
]]></action>
|
||||
<action on="Press"><![CDATA[
|
||||
// Open Atlas Editor.
|
||||
ATLAS_Run();
|
||||
// ATLAS_Run();
|
||||
]]></action>
|
||||
</object>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user