[1.1.50] Crash renaming trainstation (agui::TextBox::findWordBoundaryInText)
Posted: Wed Jan 12, 2022 8:06 pm
Bug discovered in moded gameplay, but tested in vanilla freeworld and confirmed that the bug is reproduced.
A train station is named Copper ore
Select a second station, start a rename, and select the original colored station's name
Change the station name to CAopper Ore
Delete the C from the beginning, then highlight "opper Ore" by shift, right arrow to highlight the text, then attempt typing a new name
at this point the game crashes
A train station is named Copper ore
Select a second station, start a rename, and select the original colored station's name
Change the station name to CAopper Ore
Delete the C from the beginning, then highlight "opper Ore" by shift, right arrow to highlight the text, then attempt typing a new name
at this point the game crashes