mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Fix iflang, loadtext and setfont not working with uppercase
For example, pt_PT/pt_BR needs to work as well, and now it does.
This commit is contained in:
parent
8d8a5eb605
commit
b9ef6bfc2f
1 changed files with 3 additions and 3 deletions
|
@ -2409,13 +2409,13 @@ void scriptclass::run(void)
|
|||
{
|
||||
if (map.custommode)
|
||||
{
|
||||
loc::lang_custom = words[1];
|
||||
loc::lang_custom = raw_words[1];
|
||||
loc::loadtext_custom(NULL);
|
||||
}
|
||||
}
|
||||
else if (words[0] == "iflang")
|
||||
{
|
||||
if (loc::lang == words[1])
|
||||
if (loc::lang == raw_words[1])
|
||||
{
|
||||
loadalts("custom_" + words[2], "custom_" + raw_words[2]);
|
||||
position--;
|
||||
|
@ -2430,7 +2430,7 @@ void scriptclass::run(void)
|
|||
}
|
||||
else
|
||||
{
|
||||
font::set_level_font(words[1].c_str());
|
||||
font::set_level_font(raw_words[1].c_str());
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue