--- a/menu/menu.gd +++ b/menu/menu.gd @@ -6,6 +6,8 @@ func _ready(): Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE) #always show the mouse in this scene + if OS.has_feature("web"): # FredyGames: quitting would leave a blank page in the browser + $CenterContainer/VBoxContainer/btn_quit.hide() func _on_btn_new_game_pressed(): global.new_game()