diff --git a/toontown/fishing/BingoCardCell.py b/toontown/fishing/BingoCardCell.py index 1071c57..81b5ce3 100644 --- a/toontown/fishing/BingoCardCell.py +++ b/toontown/fishing/BingoCardCell.py @@ -26,7 +26,7 @@ class BingoCardCell(DirectButton, FSM.FSM): DirectButton.__init__(self, parent) FSM.FSM.__init__(self, 'BingoCardCell') self.initialiseoptions(BingoCardCell) - self.parent = parent + self._parent = parent self.fish = fish self.cellId = cellId self.request('Off') diff --git a/toontown/fishing/BingoCardGui.py b/toontown/fishing/BingoCardGui.py index 9ff804b..9739a57 100644 --- a/toontown/fishing/BingoCardGui.py +++ b/toontown/fishing/BingoCardGui.py @@ -194,7 +194,7 @@ class BingoCardGui(DirectFrame): for i in range(rowSize): for j in range(self.game.getColSize()): color = self.getCellColor(i * rowSize + j) - if i * rowSize + j == self.game.getCardSize() / 2: + if i * rowSize + j == self.game.getCardSize() // 2: tmpFish = 'Free' else: choice = rng.randrange(0, len(fishList))