From db4cff34b0f1fb28019dd4283acb9734f9e0dd62 Mon Sep 17 00:00:00 2001 From: Matteo Benedetto Date: Mon, 16 Dec 2024 01:19:31 +0100 Subject: [PATCH] Modifica il tasto di attivazione per generare un nuovo ratto da "R" a "Return" --- rats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rats.py b/rats.py index e222bc4..9c813bc 100644 --- a/rats.py +++ b/rats.py @@ -66,7 +66,7 @@ class MiceMaze: print(key) if key == "Q": self.engine.window.close() - elif key == "R": + elif key == "Return": self.new_rat() elif key == "D": if self.units: