das ist die hotkey funktion
onPressKeyDict[app.DIK_F5] = lambda : self.__ClickGildenButton()
und in der syerr steht nur
0419 09:00:38766 :: File "game.py", line 1167, in OnKeyDown
0419 09:00:38766 :: File "game.py", line 329, in <lambda>
0419 09:00:38766 :: AttributeError
0419 09:00:38766 :: :
0419 09:00:38766 :: 'GameWindow' object has no attribute '_GameWindow__ClickGildenButton'
0419 09:00:38766 ::
0419 09:00:38766 :: Traceback (most recent call last):
0419 09:00:38766 :: File "game.py", line 1167, in OnKeyDown
0419 09:00:38766 :: File "game.py", line 329, in <lambda>
0419 09:00:38766 :: AttributeError
0419 09:00:38767 :: :
0419 09:00:38767 :: 'GameWindow' object has no attribute '_GameWindow__ClickGildenButton'
Helft mir