diff options
author | tpart <tpart120@proton.me> | 2025-03-28 20:38:26 +0100 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2025-03-28 20:38:43 +0100 |
commit | 3a98a3fc7277c2d59aba50e6601e15068d78ab8a (patch) | |
tree | 671a48a0703fe47342a99aac4ed99c0c098f0458 | |
parent | 8f948745a33953e43b29d5007d083a06398a9bde (diff) | |
download | hurrycurry-3a98a3fc7277c2d59aba50e6601e15068d78ab8a.tar hurrycurry-3a98a3fc7277c2d59aba50e6601e15068d78ab8a.tar.bz2 hurrycurry-3a98a3fc7277c2d59aba50e6601e15068d78ab8a.tar.zst |
Fix incorrect rounding in player count
-rw-r--r-- | client/menu/play.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/menu/play.gd b/client/menu/play.gd index 894ea4bc..184b3b2f 100644 --- a/client/menu/play.gd +++ b/client/menu/play.gd @@ -74,7 +74,7 @@ func update_server_list(lists: Array[Array]): for i in l: var b := Button.new() b.text_overrun_behavior = TextServer.OVERRUN_TRIM_WORD_ELLIPSIS - b.text = tr("c.menu.play.list_item").format([i.name, i.players_online]) + b.text = tr("c.menu.play.list_item").format([i.name, roundi(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 |