Changeset 272:933c2f9371ca for nagslang


Ignore:
Timestamp:
Sep 4, 2013, 11:16:40 PM (7 years ago)
Author:
Simon Cross <hodgestar@…>
Branch:
default
Message:

Stop music when the level ends.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/screens/area.py

    r269 r272  
    8484        self.add_game_objects()
    8585        sound.play_music("POL-cyber-factory-short.ogg")
     86
     87    def teardown(self):
     88        sound.stop()
    8689
    8790    def _collision_pre_solve_handler(self, space, arbiter):
Note: See TracChangeset for help on using the changeset viewer.