DistributedGolfSpot: Fix ceo golf being ineffective

This fixes a longtime TTO bug where ceo golf was ineffective.
This commit is contained in:
Michael G 2023-02-09 19:07:12 -05:00 committed by GitHub
parent 5151d94ac4
commit ada498764a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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')