Localize level/author strings on intermission startup, fixes misalignments.

This commit is contained in:
Marisa Kirisame 2019-11-10 18:03:47 +01:00 committed by Christoph Oelckers
parent 57eb1a82d6
commit 12bbb5b6f9
1 changed files with 4 additions and 4 deletions

View File

@ -862,10 +862,10 @@ class StatusScreen abstract play version("2.5")
enteringPatch = TexMan.CheckForTexture("WIENTER", TexMan.Type_MiscPatch); // "entering"
finishedPatch = TexMan.CheckForTexture("WIF", TexMan.Type_MiscPatch); // "finished"
lnametexts[0] = wbstartstruct.thisname;
lnametexts[1] = wbstartstruct.nextname;
authortexts[0] = wbstartstruct.thisauthor;
authortexts[1] = wbstartstruct.nextauthor;
lnametexts[0] = StringTable.Localize(wbstartstruct.thisname);
lnametexts[1] = StringTable.Localize(wbstartstruct.nextname);
authortexts[0] = StringTable.Localize(wbstartstruct.thisauthor);
authortexts[1] = StringTable.Localize(wbstartstruct.nextauthor);
bg = InterBackground.Create(wbs);
noautostartmap = bg.LoadBackground(false);