mirror of
https://github.com/PHIDIAS0303/ClusterChatSync.git
synced 2026-11-11 15:14:52 +09:00
1.0.5 RC10
This commit is contained in:
1 parent
628b1aafe2
commit
249a0727a5
1 file changed
+1
-1
+1
-1
@@ -18,7 +18,7 @@ const SAVE_LINE_RE = /Saving to (.+?) \((?:non-)?blocking\)\./;
|
||||
// Factorio's autosaves are literally named '_autosave1'..'_autosaveN'.
|
||||
const AUTOSAVE_NAME_RE = /^_autosave(\d+)$/;
|
||||
|
||||
function parse_save(line: string): slot?: number | null {
|
||||
function parse_save(line: string): number | null {
|
||||
const m = SAVE_LINE_RE.exec(line);
|
||||
if (!m) return null;
|
||||
const slot = AUTOSAVE_NAME_RE.exec(m[1]);
|
||||
|
||||
Reference in new issue
Block a user