didn't close the battle summary. Then I activated autoplay again.
BattleAfterMath.ATTACKER_WON
Traceback (most recent call last):
File "_ctypes/callbacks.c", line 237, in 'calling callback function'
File "C:\Users\muhah\PycharmProjects\FightOfAIs3\venv\lib\site-packages\pyglet\window\win32__init.py", line 668, in f
result = event_handler(msg, wParam, lParam)
File "C:\Users\muhah\PycharmProjects\FightOfAIs3\venv\lib\site-packages\pyglet\window\win32__init.py", line 919, in _event_lbuttondown
return self._event_mousebutton(
File "C:\Users\muhah\PycharmProjects\FightOfAIs3\venv\lib\site-packages\pyglet\window\win32\init__.py", line 913, in _event_mousebutton
self.dispatch_event(ev, x, y, button, self._get_modifiers())
File "C:\Users\muhah\PycharmProjects\FightOfAIs3\venv\lib\site-packages\pyglet\window\init__.py", line 1323, in dispatch_event
if EventDispatcher.dispatch_event(self, args) != False:
File "C:\Users\muhah\PycharmProjects\FightOfAIs3\venv\lib\site-packages\pyglet\event.py", line 415, in dispatch_event
if getattr(self, event_type)(args):
File "C:/Users/muhah/PycharmProjects/FightOfAIs3/src/game.py", line 208, in on_mouse_press
self.ui.handle_mouse_click(x, y)
File "C:\Users\muhah\PycharmProjects\FightOfAIs3\src\ui\ui.py", line 346, in handle_mouse_click
self.panel_list.remove(panel)
ValueError: list.remove(x): x not in list
didn't close the battle summary. Then I activated autoplay again.
BattleAfterMath.ATTACKER_WON Traceback (most recent call last): File "_ctypes/callbacks.c", line 237, in 'calling callback function' File "C:\Users\muhah\PycharmProjects\FightOfAIs3\venv\lib\site-packages\pyglet\window\win32__init.py", line 668, in f result = event_handler(msg, wParam, lParam) File "C:\Users\muhah\PycharmProjects\FightOfAIs3\venv\lib\site-packages\pyglet\window\win32__init.py", line 919, in _event_lbuttondown return self._event_mousebutton( File "C:\Users\muhah\PycharmProjects\FightOfAIs3\venv\lib\site-packages\pyglet\window\win32\init__.py", line 913, in _event_mousebutton self.dispatch_event(ev, x, y, button, self._get_modifiers()) File "C:\Users\muhah\PycharmProjects\FightOfAIs3\venv\lib\site-packages\pyglet\window\init__.py", line 1323, in dispatch_event if EventDispatcher.dispatch_event(self, args) != False: File "C:\Users\muhah\PycharmProjects\FightOfAIs3\venv\lib\site-packages\pyglet\event.py", line 415, in dispatch_event if getattr(self, event_type)(args): File "C:/Users/muhah/PycharmProjects/FightOfAIs3/src/game.py", line 208, in on_mouse_press self.ui.handle_mouse_click(x, y) File "C:\Users\muhah\PycharmProjects\FightOfAIs3\src\ui\ui.py", line 346, in handle_mouse_click self.panel_list.remove(panel) ValueError: list.remove(x): x not in list