otp: no delay district checking after none found.

This commit is contained in:
Little Cat 2022-12-31 03:26:27 -04:00
parent bd20778143
commit f1051658f2
No known key found for this signature in database
GPG key ID: 96455BD9C4399BE8
3 changed files with 1 additions and 3 deletions

View file

@ -791,7 +791,7 @@ class OTPClientRepository(ClientRepositoryBase):
def doneWait(task, self = self):
self.loginFSM.request('waitForShardList')
if __dev__:
if __debug__:
delay = 0.0
else:
delay = 6.5 + random.random() * 2.0

View file

@ -41,7 +41,6 @@ class CharLonelyStateAI(StateData.StateData):
class CharChattyStateAI(StateData.StateData):
notify = DirectNotifyGlobal.directNotify.newCategory('CharChattyStateAI')
notify.setDebug(True)
def __init__(self, doneEvent, character):
StateData.StateData.__init__(self, doneEvent)

View file

@ -7,7 +7,6 @@ from direct.interval.SoundInterval import SoundInterval
class VineBat(NodePath, DirectObject):
notify = DirectNotifyGlobal.directNotify.newCategory('VineBat')
notify.setDebug(True)
RADIUS = 1.7
def __init__(self, batIndex, timeToTraverseField):