Merge pull request #436 from itsre3/itsre3-patch-2

Update kingofthehill.py
This commit is contained in:
Eric Froemling 2022-06-24 12:21:28 -07:00 committed by GitHub
commit 5c601a36df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -239,7 +239,7 @@ class KingOfTheHillGame(ba.TeamGameActivity[Player, Team]):
def _handle_player_flag_region_collide(self, colliding: bool) -> None:
try:
spaz = ba.getcollision().sourcenode.getdelegate(PlayerSpaz, True)
spaz = ba.getcollision().opposingnode.getdelegate(PlayerSpaz, True)
except ba.NotFoundError:
return