From ada498764a6548c7f8541014b21a10b3d47eff71 Mon Sep 17 00:00:00 2001 From: Michael G <10155689+MichaelGDev48@users.noreply.github.com> Date: Thu, 9 Feb 2023 19:07:12 -0500 Subject: [PATCH] DistributedGolfSpot: Fix ceo golf being ineffective This fixes a longtime TTO bug where ceo golf was ineffective. --- toontown/coghq/DistributedGolfSpot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toontown/coghq/DistributedGolfSpot.py b/toontown/coghq/DistributedGolfSpot.py index 33084f2..6ce166c 100644 --- a/toontown/coghq/DistributedGolfSpot.py +++ b/toontown/coghq/DistributedGolfSpot.py @@ -716,7 +716,7 @@ class DistributedGolfSpot(DistributedObject.DistributedObject, FSM.FSM): throwerId)) if flyBallCode == ToontownGlobals.PieCodeBossCog and self.avId == localAvatar.doId and self.lastHitSequenceNum != self.__flyBallSequenceNum: self.lastHitSequenceNum = self.__flyBallSequenceNum - self.boss.d_ballHitBoss(1) + self.boss.d_ballHitBoss(2) elif flyBallCode == ToontownGlobals.PieCodeToon and self.avId == localAvatar.doId and self.lastHitSequenceNum != self.__flyBallSequenceNum: self.lastHitSequenceNum = self.__flyBallSequenceNum avatarDoId = entry.getIntoNodePath().getNetTag('avatarDoId')