From 15c98c59011f15a31cf6ee88f74810e7b8e64fce Mon Sep 17 00:00:00 2001 From: John Cote Date: Thu, 9 Jan 2020 22:18:33 -0500 Subject: [PATCH] coghq: fix mint crashes --- toontown/coghq/DistributedMintBattle.py | 1 + toontown/coghq/MintInterior.py | 1 + toontown/quest/QuestManagerAI.py | 3 +++ 3 files changed, 5 insertions(+) diff --git a/toontown/coghq/DistributedMintBattle.py b/toontown/coghq/DistributedMintBattle.py index 96ec7b9..87a9e53 100644 --- a/toontown/coghq/DistributedMintBattle.py +++ b/toontown/coghq/DistributedMintBattle.py @@ -1,4 +1,5 @@ from pandac.PandaModules import * +from libotp import * from direct.interval.IntervalGlobal import * from toontown.battle.BattleBase import * from toontown.coghq import DistributedLevelBattle diff --git a/toontown/coghq/MintInterior.py b/toontown/coghq/MintInterior.py index 6be3fc5..c15f3e9 100644 --- a/toontown/coghq/MintInterior.py +++ b/toontown/coghq/MintInterior.py @@ -4,6 +4,7 @@ from direct.fsm import ClassicFSM, State from direct.fsm import State from direct.showbase import BulletinBoardWatcher from pandac.PandaModules import * +from libotp import * from otp.distributed.TelemetryLimiter import RotationLimitToH, TLGatherAllAvs from toontown.toon import Toon from toontown.toonbase import ToontownGlobals diff --git a/toontown/quest/QuestManagerAI.py b/toontown/quest/QuestManagerAI.py index 9d7c967..d8378e1 100644 --- a/toontown/quest/QuestManagerAI.py +++ b/toontown/quest/QuestManagerAI.py @@ -33,3 +33,6 @@ class QuestManagerAI: def toonDefeatedFactory(self, toon, factoryId, activeVictors): pass # TODO + + def toonDefeatedMint(self, toon, mintId, activeVictors): + pass # TODO