diff --git a/games/ttrs.py b/games/ttrs.py index 82bc623..dcbae05 100755 --- a/games/ttrs.py +++ b/games/ttrs.py @@ -233,10 +233,9 @@ class TestTtrsPlayer(TtrsPlayer): class BalanceTtrsPlayer(TtrsPlayer, threading.Thread): - def __init__(self, playground, addr, player_id): + def __init__(self, playground, balance_util): self.playground = playground - self.addr = addr - self.player_id = player_id + self.balance_util = balance_util self.evt = None self.lastevt = None threading.Thread.__init__(self, daemon=True)