mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2025-01-09 17:53:50 +00:00
DistributedFindFour compile fix
This commit is contained in:
parent
18b5e46084
commit
c030f3be23
1 changed files with 2 additions and 2 deletions
|
@ -15,6 +15,7 @@ from toontown.toonbase import ToontownGlobals
|
|||
from direct.distributed.ClockDelta import *
|
||||
from otp.otpbase import OTPGlobals
|
||||
from direct.showbase import PythonUtil
|
||||
import random
|
||||
|
||||
class DistributedFindFour(DistributedNode.DistributedNode):
|
||||
|
||||
|
@ -565,8 +566,7 @@ class DistributedFindFour(DistributedNode.DistributedNode):
|
|||
else:
|
||||
hasfound = False
|
||||
while hasfound == False:
|
||||
from random import *
|
||||
x = randint(0, 6)
|
||||
x = random.randint(0, 6)
|
||||
if self.board[0][x] == 0:
|
||||
self.d_requestMove(x)
|
||||
self.moveCol = None
|
||||
|
|
Loading…
Reference in a new issue