s25client
s25client copied to clipboard
Console infinite loop with specific languages in campaign menu.
Version: 0.9.5 for Windows What did you do/shall be done to reproduce the bug? Change language to non German or English. In my case it was Finnish. After the language is selected:
- Go to Singleplayer (in Finnish it's "yksinpeli").
- Select "Campaigns", it's in English for some reason. In Finnish it would be "kampanjoita".
- Press either "Roman campaign" or "Original world campaign".
- Open the console.
What is expected: One error message about the error.
What actually happens: It spams "Did not found translation for language 'fi_FI.UTF-8' in LUA file. Available translations: de, en" infinite times.
That line of code is located in: https://github.com/Return-To-The-Roots/s25client/blob/master/libs/libGamedata/lua/LuaInterfaceBase.cpp The error message that is being spammed is in the line 125.