Browse Source

Modifica il tasto di attivazione per generare un nuovo ratto da "R" a "Return"

master
Matteo Benedetto 1 year ago
parent
commit
db4cff34b0
  1. 2
      rats.py

2
rats.py

@ -66,7 +66,7 @@ class MiceMaze:
print(key) print(key)
if key == "Q": if key == "Q":
self.engine.window.close() self.engine.window.close()
elif key == "R": elif key == "Return":
self.new_rat() self.new_rat()
elif key == "D": elif key == "D":
if self.units: if self.units:

Loading…
Cancel
Save