refactoring the call order of the renderers' init code invocation

This commit is contained in:
minjaesong
2019-06-25 22:24:22 +09:00
parent d2e886aec2
commit ed58e72724
29 changed files with 283 additions and 195 deletions

View File

@@ -17,11 +17,11 @@ internal object SetTimeDelta : ConsoleCommand {
if (args.size == 2) {
world.time.timeDelta = args[1].toInt()
if (world.time.timeDelta == 0)
world.worldTime.timeDelta = args[1].toInt()
if (world.worldTime.timeDelta == 0)
Echo("時間よ止まれ!ザ・ワルド!!")
else
Echo("Set time delta to ${world.time.timeDelta}")
Echo("Set time delta to ${world.worldTime.timeDelta}")
}
else {
printUsage()