mirror of
https://github.com/JohnBreaux/Boat-Battle.git
synced 2024-11-15 05:25:57 +00:00
Load options on OptionController _ready(), so they will be available before options menu opens. Disable debug printout on loading scene using main bus signal. Cleanup formatting on Debug 'call' command output.
This commit is contained in:
parent
c83e10668c
commit
29f643de20
@ -333,8 +333,8 @@ func command_call(command):
|
||||
debug_print_line("We're sorry, but your call could not be completed as dialed.\n"
|
||||
+ "Please hang up and try your call again.\n")
|
||||
return
|
||||
if (call_ret):
|
||||
debug_print_line("'" + String(call_ret) + "'\n")
|
||||
if (call_ret != null):
|
||||
debug_print_line(String(call_ret) + "\n")
|
||||
else:
|
||||
debug_print_line("null\n")
|
||||
else:
|
||||
|
@ -42,7 +42,7 @@ func _process(_delta):
|
||||
|
||||
# Creates a new instance of each menu scene
|
||||
func _on_scene_start(scene):
|
||||
print ("_on_scene_start(",scene,")")
|
||||
#print ("_on_scene_start(",scene,")")
|
||||
match scene:
|
||||
"Singleplayer":
|
||||
add_child (gameplay.instance())
|
||||
|
@ -14,7 +14,7 @@ var mus_vol = 100
|
||||
var sfx_vol = 100
|
||||
|
||||
func _ready():
|
||||
pass
|
||||
load_options()
|
||||
|
||||
# Setters
|
||||
func set_theme(theme_name):
|
||||
|
Loading…
Reference in New Issue
Block a user