From 3a512bb30e8e8721c0e191a93d5b49ef27b5719e Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 16 Jul 2018 23:03:53 -0300 Subject: You can now change language from UCP. This should make TMW2 compliant with the GDPR. --- npc/commands/language.txt | 2 +- npc/commands/ucp.txt | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'npc/commands') 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); } -- cgit v1.2.3-60-g2f50