mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 09:33:49 +01:00
save files are now chronologically named
This commit is contained in:
parent
35fa4a4117
commit
ed821617c0
@ -77,7 +77,7 @@ class BitburnerSaveObject {
|
||||
// Save file name is based on current timestamp and BitNode
|
||||
const epochTime = Math.round(Date.now() / 1000);
|
||||
const bn = Player.bitNodeN;
|
||||
const filename = `bitburnerSave_BN${bn}x${SourceFileFlags[bn]}_${epochTime}.json`;
|
||||
const filename = `bitburnerSave_${epochTime}_BN${bn}x${SourceFileFlags[bn]}.json`;
|
||||
download(filename, saveString);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user