From c030f3be2352e28d6484a6b3580f7acfa96b7706 Mon Sep 17 00:00:00 2001 From: DenialMC Date: Wed, 13 May 2015 14:45:12 +0300 Subject: [PATCH] DistributedFindFour compile fix --- toontown/safezone/DistributedFindFour.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toontown/safezone/DistributedFindFour.py b/toontown/safezone/DistributedFindFour.py index d1d97c61..24caa1e9 100644 --- a/toontown/safezone/DistributedFindFour.py +++ b/toontown/safezone/DistributedFindFour.py @@ -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