mirror of
https://forge.apps.education.fr/phroy/codetower.git
synced 2024-01-27 11:35:17 +01:00
Bugfix : sound crash on windows -> no music for bill
This commit is contained in:
parent
c1fa2b9aba
commit
3ea30d0f5a
Binary file not shown.
@ -163,8 +163,9 @@ def thread_cmd_stop():
|
|||||||
# Sounds
|
# Sounds
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
|
# FIXME : Sound crash in Windows (very strange : blender, UPBGE, python ?), no music for Bill
|
||||||
def sound_play (sound):
|
def sound_play (sound):
|
||||||
if scene.objects['Commands']['sound']:
|
if scene.objects['Commands']['sound'] and sys.platform!="win32":
|
||||||
audiodev.play(sound)
|
audiodev.play(sound)
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
Loading…
x
Reference in New Issue
Block a user