You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However the bcp_interface.py also emits directly a player_added event (bypassing the event manager) that with the player number as the player_num kwarg:
{ "player_num": 2, "cmd": "player_added" }
This can cause errors on BCP clients that subscribe to the player_added event because either kwarg may not be present.
The solution should be (probably) to remove the BCP event and rely on the event handler's event to broadcast.
The text was updated successfully, but these errors were encountered:
When a player is added to MPF, game.py broadcasts a player_added event with the player number as the
num
kwarg:However the bcp_interface.py also emits directly a player_added event (bypassing the event manager) that with the player number as the
player_num
kwarg:This can cause errors on BCP clients that subscribe to the player_added event because either kwarg may not be present.
The solution should be (probably) to remove the BCP event and rely on the event handler's event to broadcast.
The text was updated successfully, but these errors were encountered: