diff --git a/scenes/mainmenu.tscn b/scenes/mainmenu.tscn index b029fe9..6e099f4 100644 --- a/scenes/mainmenu.tscn +++ b/scenes/mainmenu.tscn @@ -186,6 +186,14 @@ position = Vector2(16, 80) scale = Vector2(0.112694, 0.112694) texture = ExtResource("11_1ejug") +[node name="issuesButton" type="Button" parent="."] +layout_mode = 0 +offset_left = 479.0 +offset_top = 504.0 +offset_right = 669.0 +offset_bottom = 570.0 +text = "ISSUE TRACKER" + [connection signal="pressed" from="Button" to="." method="_on_button_pressed"] [connection signal="mouse_entered" from="playButton" to="." method="_on_play_button_mouse_entered"] [connection signal="mouse_exited" from="playButton" to="." method="_on_play_button_mouse_exited"] @@ -198,3 +206,4 @@ texture = ExtResource("11_1ejug") [connection signal="mouse_exited" from="creditsButton" to="." method="_on_credits_button_mouse_exited"] [connection signal="pressed" from="creditsButton" to="." method="_on_button_5_pressed"] [connection signal="pressed" from="lightButton" to="." method="_on_light_button_pressed"] +[connection signal="pressed" from="issuesButton" to="." method="_on_issues_button_pressed"] diff --git a/scripts/HUD.gd b/scripts/HUD.gd index 9d25f7c..73a07fc 100644 --- a/scripts/HUD.gd +++ b/scripts/HUD.gd @@ -257,6 +257,7 @@ func restart_round(): Global.iAmSpecial = false Global.specialDead = false Global.iAmDeadAndInnocent = false + Global.roundInSession = true ### TUTORIAL STUFF ### diff --git a/scripts/mainmenu.gd b/scripts/mainmenu.gd index e765a93..6d64870 100644 --- a/scripts/mainmenu.gd +++ b/scripts/mainmenu.gd @@ -106,3 +106,7 @@ func _on_light_button_pressed(): audiostream.set_stream(load("res://sounds/light-switch.mp3")) add_child(audiostream) audiostream.play() + + +func _on_issues_button_pressed(): + OS.shell_open("https://git.techwizz-emu.com/the_adventures_of_teddy/public_issues/issues")