mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-13 20:14:05 +09:00
Echo().execute(message) is now just Echo(message)
Former-commit-id: 851e141fc91b170190d6027f42f59906dda0f31f Former-commit-id: 03dbb9da1788e1c50e84ae33d95f76194ad9a08d
This commit is contained in:
@@ -14,7 +14,7 @@ internal object Zoom : ConsoleCommand {
|
||||
zoom = args[1].toFloat()
|
||||
}
|
||||
catch (e: NumberFormatException) {
|
||||
Echo.execute("Wrong number input.")
|
||||
Echo("Wrong number input.")
|
||||
return
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ internal object Zoom : ConsoleCommand {
|
||||
|
||||
System.gc()
|
||||
|
||||
Echo.execute("Set screen zoom to " + zoom.toString())
|
||||
Echo("Set screen zoom to " + zoom.toString())
|
||||
}
|
||||
else {
|
||||
printUsage()
|
||||
@@ -37,6 +37,6 @@ internal object Zoom : ConsoleCommand {
|
||||
}
|
||||
|
||||
override fun printUsage() {
|
||||
Echo.execute("Usage: zoom [zoom]")
|
||||
Echo("Usage: zoom [zoom]")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user