aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2025-06-30 18:34:55 +0200
committertpart <tpart120@proton.me>2025-07-08 20:27:58 +0200
commit14dedf30053e380d5e009080e71439a345f0e56a (patch)
treea8686dad7238d9c612847b906bb51394f453552d /client
parent3b75eb56dbb7575973a517933b1258f6ad9f14cd (diff)
downloadhurrycurry-14dedf30053e380d5e009080e71439a345f0e56a.tar
hurrycurry-14dedf30053e380d5e009080e71439a345f0e56a.tar.bz2
hurrycurry-14dedf30053e380d5e009080e71439a345f0e56a.tar.zst
Hide quit button on mobile
Diffstat (limited to 'client')
-rw-r--r--client/menu/main.gd3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/menu/main.gd b/client/menu/main.gd
index 6ae6df45..617e7e4f 100644
--- a/client/menu/main.gd
+++ b/client/menu/main.gd
@@ -21,7 +21,8 @@ extends Menu
func _ready():
super()
- if OS.has_feature("web"):
+ var os_name := OS.get_name()
+ if os_name == "Web" or os_name == "Android" or os_name == "iOS":
quit_button.hide()
Sound.play_music("MainMenu")
ServerList.one_shot()