mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 05:27:39 +01:00
fix stale data issue in copying slots (#19422)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
29dfdee356
commit
c8048edef9
@@ -340,6 +340,9 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car
|
||||
nif_path = nif_durability = nif_savedata = null //VOREStation Add - Don't copy NIF
|
||||
savefile.set_entry("default_slot", slot)
|
||||
|
||||
// Clear stale data before overwriting.
|
||||
savefile.remove_entry("character[slot]")
|
||||
|
||||
return TRUE
|
||||
|
||||
/datum/preferences/proc/sanitize_preferences()
|
||||
|
||||
Reference in New Issue
Block a user