forked from team-sg/hero-mark-2
global takeover of transition_speed variable
This commit is contained in:
parent
ddafe49d12
commit
bfbc0dfd2b
18 changed files with 42 additions and 42 deletions
|
@ -23,7 +23,7 @@ func _input(event):
|
|||
has_started = true
|
||||
|
||||
func _ready():
|
||||
Fade.fade_in(0.4)
|
||||
Fade.fade_in(Options.transition_speed_secs)
|
||||
var time = OS.get_time()
|
||||
if time.hour >= 18 or time.hour < 6:
|
||||
$Night.visible = true
|
||||
|
@ -33,6 +33,6 @@ func _ready():
|
|||
|
||||
|
||||
func _on_AudioStreamPlayer_finished():
|
||||
Fade.fade_out(0.4)
|
||||
Fade.fade_out(Options.transition_speed_secs)
|
||||
yield(Fade, "fade_finished")
|
||||
SceneManager.current_scene = next_menu.instance()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue