mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 19:14:05 +09:00
quicksave to write modification time to the disk
This commit is contained in:
@@ -151,6 +151,8 @@ class QuickSingleplayerWorldSavingThread(
|
||||
skimmer.setSaveMode(1 + 2 * isAuto.toInt())
|
||||
skimmer.setSaveKind(VDSaveKind.WORLD_DATA)
|
||||
skimmer.setSaveOrigin(skimmer.getSaveOrigin() and 15) // remove flag "imported" if applicable
|
||||
skimmer.setLastModifiedTime(time_t)
|
||||
skimmer.setCreationTime(creation_t)
|
||||
|
||||
printdbg(this, "Game saved with size of ${outFile.length()} bytes")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user