Make intro sound skipable.
This commit is contained in:
parent
dd246db5be
commit
d5d737d0c0
@ -240,8 +240,7 @@ def initialize_gui(gameTitle):
|
||||
|
||||
# Play intro sound if available
|
||||
if 'game-intro' in soundData:
|
||||
soundData['game-intro'].play()
|
||||
time.sleep(soundData['game-intro'].get_length())
|
||||
cut_scene(soundData, 'game-intro')
|
||||
|
||||
return soundData
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user