mirror of
https://github.com/yairm210/Unciv.git
synced 2025-03-13 19:39:34 +07:00
Fixed city console rename to set exact text (not quoted/lowercased)
This commit is contained in:
parent
25f2e03a66
commit
c58830eb1a
@ -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
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user