diff options
Diffstat (limited to 'npc/functions/clientversion.txt')
-rw-r--r-- | npc/functions/clientversion.txt | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index b674ac833..662647b86 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -756,7 +756,30 @@ function script clientupdater { dispbottom l("Lt. Paul unclaimed rewards REDEEMED."); } } - // TODO: Remove lang > MAX_LANG + if (UPDATE < 1581875670) { + UPDATE=1581875670; + switch (Lang) { + case 0: + break; + case 1: // Old French + Lang=LANG_FR; break; + case 3: // Old Spanish + Lang=LANG_ES; break; + case 4: // Old Portuguese + Lang=LANG_PTBR; break; + case 5: // Old German + Lang=LANG_DE; break; + default: + Lang=99; break; + } + + if (Lang > MAX_LANG) { + .@dg=1; + Lang=0; + asklanguage(); + mes l("Ok, done."); + } + } // :// End of Regular Update System //////////////////////////////////// |