mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-17 22:14:05 +09:00
modification date now writes successfully
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user