aboutsummaryrefslogtreecommitdiff
path: root/client/multiplayer.gd
diff options
context:
space:
mode:
Diffstat (limited to 'client/multiplayer.gd')
-rw-r--r--client/multiplayer.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/multiplayer.gd b/client/multiplayer.gd
index d40c00d7..064ffa70 100644
--- a/client/multiplayer.gd
+++ b/client/multiplayer.gd
@@ -101,7 +101,7 @@ func handle_packet(bytes: PackedByteArray):
"version":
var major = decoded["major"]
var minor = decoded["minor"]
- if major != VERSION_MAJOR or minor != VERSION_MINOR:
+ if major != VERSION_MAJOR and minor >= VERSION_MINOR:
socket.close()
connected = false
connection_closed.emit(tr("Server and client versions do not match. Server: %d.%d, Client: %d.%d.\nAre you sure the game is up to date?") % [major, minor, VERSION_MAJOR, VERSION_MINOR])