fix more fish bingo crashes

This commit is contained in:
Open Toontown 2022-01-19 15:29:28 -05:00
parent d6c0975c05
commit 744f9c4d3b
2 changed files with 2 additions and 2 deletions

View file

@ -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')

View file

@ -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))