diff options
Diffstat (limited to 'client/menu')
-rw-r--r-- | client/menu/play.gd | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/menu/play.gd b/client/menu/play.gd index 0bd13669..65da0372 100644 --- a/client/menu/play.gd +++ b/client/menu/play.gd @@ -60,6 +60,8 @@ func _on_request_completed(result: int, _response_code: int, _headers: PackedStr b.text_overrun_behavior = TextServer.OVERRUN_TRIM_WORD_ELLIPSIS b.text = "%s (%d players)" % [i.name, i.players_online] # TODO: Implement fallback address correctly + if i.version[0] != Multiplayer.VERSION_MAJOR or i.version[1] > Multiplayer.VERSION_MINOR: + b.disabled = true b.pressed.connect(connect_to.bind(i.address[0])) server_list.add_child(b) |