mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-13 03:54:06 +09:00
UI testing env and working text buttons
Former-commit-id: b8fd27c7f71f9bc8da259ae132badcbc9ce117ac
This commit is contained in:
@@ -14,11 +14,11 @@ internal object SetTimeDelta : ConsoleCommand {
|
||||
if (args[1].toInt() > HARD_LIMIT)
|
||||
EchoError("Delta too large -- acceptable delta is 0-60.")
|
||||
|
||||
Terrarum.ingame.world.time.setTimeDelta(args[1].toInt())
|
||||
if (Terrarum.ingame.world.time.timeDelta == 0)
|
||||
Terrarum.ingame!!.world.time.setTimeDelta(args[1].toInt())
|
||||
if (Terrarum.ingame!!.world.time.timeDelta == 0)
|
||||
Echo("時間よ止まれ!ザ・ワルド!!")
|
||||
else
|
||||
Echo("Set time delta to ${Terrarum.ingame.world.time.timeDelta}")
|
||||
Echo("Set time delta to ${Terrarum.ingame!!.world.time.timeDelta}")
|
||||
}
|
||||
else {
|
||||
printUsage()
|
||||
|
||||
Reference in New Issue
Block a user