minigame: fix toon escape (pog)

This commit is contained in:
John Cote 2019-12-31 13:59:22 -05:00
parent c7362ec2d3
commit b4dc578291
2 changed files with 2 additions and 2 deletions

View file

@ -66,7 +66,7 @@ class MazeSuit(DirectObject):
self.startWalkAnim()
self.occupiedTiles = [(self.nextTX, self.nextTY)]
n = 20
self.nextThinkTic = int(self.serialNum * self.ticFreq / n)
self.nextThinkTic = self.serialNum * self.ticFreq // n
self.fromPos = Point3(0, 0, 0)
self.toPos = Point3(0, 0, 0)
self.fromHpr = Point3(0, 0, 0)

View file

@ -24,7 +24,7 @@ from . import TravelGameGlobals
ALLOW_TEMP_MINIGAMES = simbase.config.GetBool('allow-temp-minigames', False)
if ALLOW_TEMP_MINIGAMES:
from toontown.minigame.TempMinigameAI import *
simbase.forcedMinigameId = simbase.config.GetInt('minigame-id', 0)
simbase.forcedMinigameId = simbase.config.GetInt('minigame-id', ToontownGlobals.TwoDGameId)
RequestMinigame = {}
MinigameZoneRefs = {}