summaryrefslogtreecommitdiff
path: root/npc/commands/ucp.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-16 23:03:53 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-16 23:03:53 -0300
commit3a512bb30e8e8721c0e191a93d5b49ef27b5719e (patch)
tree7da8df5838551f08000ba881525475d90e135fe1 /npc/commands/ucp.txt
parentb27d189868e08f4459d324fcdc71d996b4ba84ae (diff)
downloadserverdata-3a512bb30e8e8721c0e191a93d5b49ef27b5719e.tar.gz
serverdata-3a512bb30e8e8721c0e191a93d5b49ef27b5719e.tar.bz2
serverdata-3a512bb30e8e8721c0e191a93d5b49ef27b5719e.tar.xz
serverdata-3a512bb30e8e8721c0e191a93d5b49ef27b5719e.zip
You can now change language from UCP. This should make TMW2 compliant with the GDPR.
Diffstat (limited to 'npc/commands/ucp.txt')
-rw-r--r--npc/commands/ucp.txt4
1 files changed, 3 insertions, 1 deletions
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);
}