mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 01:59: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)
|
if (map.custommode)
|
||||||
{
|
{
|
||||||
loc::lang_custom = words[1];
|
loc::lang_custom = raw_words[1];
|
||||||
loc::loadtext_custom(NULL);
|
loc::loadtext_custom(NULL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (words[0] == "iflang")
|
else if (words[0] == "iflang")
|
||||||
{
|
{
|
||||||
if (loc::lang == words[1])
|
if (loc::lang == raw_words[1])
|
||||||
{
|
{
|
||||||
loadalts("custom_" + words[2], "custom_" + raw_words[2]);
|
loadalts("custom_" + words[2], "custom_" + raw_words[2]);
|
||||||
position--;
|
position--;
|
||||||
|
@ -2430,7 +2430,7 @@ void scriptclass::run(void)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
font::set_level_font(words[1].c_str());
|
font::set_level_font(raw_words[1].c_str());
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue