return;
}
+ if (argv(0) == "settings")
+ {
+ m_goto("settings");
+ return;
+ }
+
if (argv(0) == "inputsettings")
{
m_goto("inputsettings");
me.TD(me, 1, 0.8, e = makeXonoticCommandButton(_("Profile"), '0 0 0', "menu_cmd profile", 0));
me.TR(me);
me.TDempty(me, 0.1);
- me.TD(me, 1, 0.8, e = makeXonoticCommandButton(_("Settings"), '0 0 0', "menu_cmd videosettings", 0));
+ me.TD(me, 1, 0.8, e = makeXonoticCommandButton(_("Settings"), '0 0 0', "menu_cmd settings", 0));
me.TR(me);
me.TDempty(me, 0.1);
me.TD(me, 1, 0.8, e = makeXonoticCommandButton(_("Input"), '0 0 0', "menu_cmd inputsettings", 0));
CLASS(XonoticSettingsDialog, XonoticDialog)
METHOD(XonoticSettingsDialog, fill, void(entity));
ATTRIB(XonoticSettingsDialog, title, string, _("Settings"));
+ ATTRIB(XonoticSettingsDialog, name, string, "settings");
ATTRIB(XonoticSettingsDialog, tooltip, string, _("Change the game settings"));
ATTRIB(XonoticSettingsDialog, color, vector, SKINCOLOR_DIALOG_SETTINGS);
ATTRIB(XonoticSettingsDialog, intendedWidth, float, 0.96);