mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-22 00:13:12 +09:00
Fix version comparison
This commit is contained in:
1 file changed
+1
-1
@@ -426,7 +426,7 @@ export function readMapExchangeString(exchangeString: string) {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
const version = readVersion(state);
|
const version = readVersion(state);
|
||||||
state.v2 = version >= [2, 0, 0, 0];
|
state.v2 = version[0] >= 2;
|
||||||
data = {
|
data = {
|
||||||
version: version,
|
version: version,
|
||||||
unknown: readUInt8(state),
|
unknown: readUInt8(state),
|
||||||
|
|||||||
Reference in new issue
Block a user