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:
Acumen
2005-08-14 18:44:37 +00:00
parent 72806285f8
commit c4cb65af72
@@ -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>