feat(startscreen): change ui texts from german to english and fix button click event

This commit is contained in:
Kevin Baumgartner
2026-05-08 13:50:42 +02:00
parent 0194438b38
commit 8c454edd5b
2 changed files with 51 additions and 36 deletions
+2
View File
@@ -45,6 +45,8 @@ class Button:
current_color = self.hover
# check if left mouse button is pressed
if pygame.mouse.get_pressed()[0] == 1:
self.clicked = True
if pygame.mouse.get_pressed()[0] == 0 and self.clicked:
self.clicked = False
action = True