Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
williamd1k0 committed Aug 29, 2016
1 parent 71614d6 commit 80e4fdc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 1 addition & 0 deletions engine.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

name="Monster Hunter Pocket"
main_scene="res://scenes/Manager.tscn"
disable_stdout=true
boot_splash="res://misc/background.png"
icon="res://icon.png"
auto_accept_quit=true
Expand Down
2 changes: 0 additions & 2 deletions scenes/Splash.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,6 @@ autostart = false

[connection signal="finished" from="Nyan/Sprite/AnimationPlayer" to="." method="_on_AnimationPlayer_finished"]

[connection signal="finished" from="Instrunctions/Sprite/AnimationPlayer" to="." method="_on_Fade2_AnimationPlayer_finished"]

[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]

[connection signal="timeout" from="Readme" to="." method="_on_Readme_timeout"]
Expand Down
8 changes: 4 additions & 4 deletions scripts/manager.gd
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ extends Node

func _ready():
print("Initializing!")
Globals.set("start_game", true)
if not Globals.has("max_score"):
Globals.set("max_score", 0)
Globals.save()
# Globals.set("start_game", true)
# if not Globals.has("max_score"):
# Globals.set("max_score", 0)
# Globals.save()

func _on_Timer_timeout():
get_tree().change_scene("res://scenes/Disclaimer.tscn")

0 comments on commit 80e4fdc

Please sign in to comment.