minigame: fix toon escape (pog)
This commit is contained in:
parent
c7362ec2d3
commit
b4dc578291
2 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ class MazeSuit(DirectObject):
|
||||||
self.startWalkAnim()
|
self.startWalkAnim()
|
||||||
self.occupiedTiles = [(self.nextTX, self.nextTY)]
|
self.occupiedTiles = [(self.nextTX, self.nextTY)]
|
||||||
n = 20
|
n = 20
|
||||||
self.nextThinkTic = int(self.serialNum * self.ticFreq / n)
|
self.nextThinkTic = self.serialNum * self.ticFreq // n
|
||||||
self.fromPos = Point3(0, 0, 0)
|
self.fromPos = Point3(0, 0, 0)
|
||||||
self.toPos = Point3(0, 0, 0)
|
self.toPos = Point3(0, 0, 0)
|
||||||
self.fromHpr = Point3(0, 0, 0)
|
self.fromHpr = Point3(0, 0, 0)
|
||||||
|
|
|
@ -24,7 +24,7 @@ from . import TravelGameGlobals
|
||||||
ALLOW_TEMP_MINIGAMES = simbase.config.GetBool('allow-temp-minigames', False)
|
ALLOW_TEMP_MINIGAMES = simbase.config.GetBool('allow-temp-minigames', False)
|
||||||
if ALLOW_TEMP_MINIGAMES:
|
if ALLOW_TEMP_MINIGAMES:
|
||||||
from toontown.minigame.TempMinigameAI import *
|
from toontown.minigame.TempMinigameAI import *
|
||||||
simbase.forcedMinigameId = simbase.config.GetInt('minigame-id', 0)
|
simbase.forcedMinigameId = simbase.config.GetInt('minigame-id', ToontownGlobals.TwoDGameId)
|
||||||
RequestMinigame = {}
|
RequestMinigame = {}
|
||||||
MinigameZoneRefs = {}
|
MinigameZoneRefs = {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue