Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash in become_target message handler #229

Open
Timtam opened this issue Apr 21, 2020 · 0 comments
Open

crash in become_target message handler #229

Timtam opened this issue Apr 21, 2020 · 0 comments
Labels

Comments

@Timtam
Copy link
Collaborator

Timtam commented Apr 21, 2020

Traceback (most recent call last):
File "/home/tyler/ygo/ygo-game/ygo/utils.py", line 116, in catch
return f(*args, **kwargs)
File "/home/tyler/ygo/ygo-game/ygo/duel.py", line 252, in process_messages
data = fn(data)
File "/home/tyler/ygo/ygo-game/ygo/message_handlers/become_target.py", line 13, in msg_become_target
self.cm.call_callbacks('become_target', tc, tl, tseq)
File "/home/tyler/ygo/ygo-game/ygo/callback_manager.py", line 20, in call_callbacks
callback(*args, **kwargs)
File "/home/tyler/ygo/ygo-game/ygo/message_handlers/become_target.py", line 20, in become_target
name = self.players[self.chaining_player].nickname
AttributeError: 'Duel' object has no attribute 'chaining_player'

@Timtam Timtam added the bug label Apr 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant