mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 07:04:53 +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 {
|
||||
const version = readVersion(state);
|
||||
state.v2 = version >= [2, 0, 0, 0];
|
||||
state.v2 = version[0] >= 2;
|
||||
data = {
|
||||
version: version,
|
||||
unknown: readUInt8(state),
|
||||
|
||||
Reference in new issue
Block a user