mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 23:14:53 +09:00
Check for 0.16 startup string
Adjust the regex for detecting startup to also work with 0.16 as updateTick was called mapTick before 0.17. Note: This commit does not imply 0.16 is going to be supported by Cluestio.
This commit is contained in:
1 parent
a7d728c3ac
commit
7cef5528b3
1 file changed
+1
-1
@@ -375,7 +375,7 @@ const outputHeuristics = [
|
||||
|
||||
// Message indicating the server is done starting up
|
||||
{
|
||||
filter: { type: "log", message: /^updateTick\(\d+\) changing state from\(CreatingGame\) to\(InGame\)$/ },
|
||||
filter: { type: "log", message: /^(update|map)Tick\(\d+\) changing state from\(CreatingGame\) to\(InGame\)$/ },
|
||||
action: function() {
|
||||
this._notifyGameReady().catch((err) => { this.emit("error", err); });
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user