mirror of
https://github.com/fishyboteso/fishyboteso.git
synced 2024-08-30 18:32:13 +00:00
added the ability to change controls from function keys to letters
This commit is contained in:
parent
7d78347a4a
commit
3078ab1130
@ -50,7 +50,10 @@ class Control:
|
||||
"""
|
||||
s = "\n\nCurrent Mode: " + Control.get()["name"]+"\n"
|
||||
for c in Control.controls[Control.current]["controls"]:
|
||||
s += c[0].value + ": " + c[1].name + "\n"
|
||||
try:
|
||||
s += c[0].value + ": " + c[1].name + "\n"
|
||||
except AttributeError:
|
||||
s += c[0].value + ": " + c[1] + "\n"
|
||||
|
||||
return s
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user