hide exit button on web
This commit is contained in:
parent
c1d28ea050
commit
488e3e818e
1 changed files with 4 additions and 0 deletions
|
@ -2,8 +2,12 @@ extends Control
|
|||
|
||||
var MAIN_MENU_MUSIC = "res://music/menu_principal.ogg"
|
||||
|
||||
onready var exit_button = $MarginContainer/VBoxContainer/HBoxContainer/CenterContainer/VBoxContainer/MarginContainer2/ExitButton
|
||||
|
||||
func _ready():
|
||||
BackgroundMusic.crossfade_to(MAIN_MENU_MUSIC, -10, 1)
|
||||
if OS.get_name() == "HTML5":
|
||||
exit_button.hide()
|
||||
|
||||
|
||||
func load_main_game():
|
||||
|
|
Loading…
Reference in a new issue