Fixed city console rename to set exact text (not quoted/lowercased)

This commit is contained in:
yairm210 2024-08-08 01:35:17 +03:00
parent 25f2e03a66
commit c58830eb1a

View File

@ -36,7 +36,7 @@ internal class ConsoleCityCommands : ConsoleCommandNode {
"setname" to ConsoleAction("city setname <\"name\">") { console, params ->
val city = console.getSelectedCity()
city.name = params[0].toString()
city.name = params[0].originalUnquoted()
DevConsoleResponse.OK
},