mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-24 16:20:08 +01:00
disable music when game starts from debug mode
This commit is contained in:
parent
254064dc00
commit
328122823b
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@ var state = {}
|
||||||
func _ready():
|
func _ready():
|
||||||
if OS.has_feature("standalone"):
|
if OS.has_feature("standalone"):
|
||||||
get_tree().set_auto_accept_quit(false)
|
get_tree().set_auto_accept_quit(false)
|
||||||
|
else:
|
||||||
|
game.toggle_music()
|
||||||
|
|
||||||
global_shell = Shell.new()
|
global_shell = Shell.new()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue