Update kingofthehill.py

This commit is contained in:
itsre3 2022-06-24 12:43:34 +01:00 committed by GitHub
parent ff37609b83
commit bdd3f4e615
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