mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-10 18:44:05 +09:00
new player save format writing
This commit is contained in:
@@ -24,7 +24,7 @@ object Save : ConsoleCommand {
|
||||
val disk = VDUtil.createNewDisk(1L shl 60, savename, Common.CHARSET)
|
||||
val file = File(App.saveDir + "/${args[1]}")
|
||||
|
||||
WriteSavegame(disk, file, ingame, false)
|
||||
// WriteSavegame(disk, file, ingame, false)
|
||||
|
||||
}
|
||||
catch (e: IOException) {
|
||||
@@ -47,9 +47,7 @@ object Quicksave : ConsoleCommand {
|
||||
override fun execute(args: Array<String>) {
|
||||
val ingame = Terrarum.ingame!! as TerrarumIngame
|
||||
|
||||
WriteSavegame.quick(ingame.savegameArchive, ingame.getSaveFileMain(), ingame, false) {
|
||||
|
||||
}
|
||||
// WriteSavegame.quick(ingame.savegameArchive, ingame.getSaveFileMain(), ingame, false) {}
|
||||
}
|
||||
|
||||
override fun printUsage() {
|
||||
|
||||
Reference in New Issue
Block a user