1. Daniel Pope
  2. korovic

Commits

Daniel Pope  committed 1314bc7

Fix: stop engine sound when you reach the goal

  • Participants
  • Parent commits fe4f9be
  • Branches default

Comments (0)

Files changed (1)

File korovic/world.py

View file
  • Ignore whitespace
             g = self.goal
             if g and self.squid.position in g:
                 self.won = True
+                self.squid.stop_all()
                 self.create_sprite('sprites/susie-destroy', g.left + 200, g.bottom + 22)
                 self.dispatch_event('on_goal')