This commit is contained in:
Auric Vente 2024-07-21 22:14:45 -06:00
parent 25230073d6
commit 0f7a5addee
1 changed files with 2 additions and 0 deletions

View File

@ -334,10 +334,12 @@ class Game:
return return
Ants.terminate(ant) Ants.terminate(ant)
Game.start_loop()
elif event.button() == Qt.MiddleButton: elif event.button() == Qt.MiddleButton:
if is_terminated(): if is_terminated():
return return
Ants.merge(ant) Ants.merge(ant)
Game.start_loop()
else: else:
Game.toggle_song() Game.toggle_song()