diff options
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/string.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/string.txt b/npc/functions/string.txt index fba5e776d..22630c45d 100644 --- a/npc/functions/string.txt +++ b/npc/functions/string.txt @@ -104,8 +104,8 @@ function script format_number { if (getargcount() < 2 && playerattached()) { // get from user language switch (Lang) { - case 1: .@separator$ = " "; break; // French - case 4: .@separator$ = "."; break; // Brazilian + case LANG_FR: .@separator$ = " "; break; // French + case LANG_PTBR: .@separator$ = "."; break; // Brazilian default: .@separator$ = ","; // English (default) } } |