Update air_soccer.py

This commit is contained in:
Vishal 2025-01-26 16:20:13 +05:30 committed by GitHub
parent 9a3482f2dd
commit cb026bad80
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -50,9 +50,7 @@ class Puck(bs.Actor):
self.last_players_to_touch: Dict[int, Player] = {}
self.scored = False
assert activity is not None
print("hi")
assert isinstance(activity, HockeyGame)
print("meh")
pmats = [shared.object_material, activity.puck_material]
self.node = bs.newnode('prop',
delegate=self,