summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/commands/language.txt2
-rw-r--r--npc/commands/ucp.txt4
2 files changed, 4 insertions, 2 deletions
diff --git a/npc/commands/language.txt b/npc/commands/language.txt
index 071e26cd7..ba5d3d6ee 100644
--- a/npc/commands/language.txt
+++ b/npc/commands/language.txt
@@ -23,6 +23,6 @@ OnCall:
close;
OnInit:
- bindatcmd "lang", "@lang::OnCall", 0, 0, 0;
+ bindatcmd "lang", "@lang::OnCall", 0, 99, 0;
end;
}
diff --git a/npc/commands/ucp.txt b/npc/commands/ucp.txt
index dbdf06221..8372502cf 100644
--- a/npc/commands/ucp.txt
+++ b/npc/commands/ucp.txt
@@ -12,6 +12,7 @@ function script UserCtrlPanel {
l("Rules"),
l("Game News"),
l("Account Information"),
+ l("Change Language"),
l("Quit");
switch (@menu)
@@ -46,7 +47,8 @@ function script UserCtrlPanel {
}
next;
break;
- case 7: close; break;
+ case 4: asklanguage(LANG_IN_SHIP); break;
+ case 5: close; break;
}
} while (1);
}