modification date now writes successfully

This commit is contained in:
minjaesong
2022-01-12 16:38:43 +09:00
parent b0cf37250f
commit 0a5b9c1f2f
4 changed files with 8 additions and 8 deletions

View File

@@ -136,7 +136,6 @@ class WorldSavingThread(
Echo("Writing file to disk...")
disk.entries[0]!!.creationDate = creation_t
disk.entries[0]!!.modificationDate = time_t
// entry zero MUST NOT be used to get lastPlayDate, but we'll update it anyway
// use entry -1 for that purpose!
@@ -180,6 +179,7 @@ class PlayerSavingThread(
Echo("Writing The Player...")
WritePlayer(ingame.actorGamer, disk, ingame, time_t)
disk.entries[0]!!.modificationDate = time_t
VDUtil.dumpToRealMachine(disk, outFile)
callback()