Skip to content
Snippets Groups Projects
Commit d44129a2 authored by Frederic Aust's avatar Frederic Aust
Browse files

Merge branch '3-spiel-endet-immer-bei-einem-punktestand-von-5' into 'master'

Anzahl an Siege um zu Gewinnen wird nun durch das SettingsWindow eingestellt

Closes #3

See merge request !9
parents 9d0bffa7 05cb1c66
No related branches found
No related tags found
1 merge request!9Anzahl an Siege um zu Gewinnen wird nun durch das SettingsWindow eingestellt
...@@ -128,7 +128,7 @@ func check_point_scored(): ...@@ -128,7 +128,7 @@ func check_point_scored():
reward_player_two=(-1) reward_player_two=(-1)
print("player one won") print("player one won")
update_score() update_score()
if score_player_one == 5 or score_player_two == 5: if score_player_one == $"/root/GameSettings".game_wins_to_reset or score_player_two == $"/root/GameSettings".game_wins_to_reset:
game_done = true game_done = true
func handle_score_event(): func handle_score_event():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment