]> git.zerfleddert.de Git - micropolis/blobdiff - res/micropolis.tcl
better search for matching visual
[micropolis] / res / micropolis.tcl
index 421fd2b47b26feb24dd8e1425665231d6703e661..dac3517d84f444af64c499f9cbbc7eeba4d91f0e 100644 (file)
@@ -940,8 +940,9 @@ proc EchoPlaySound {soundspec} {
   # Temporary workaround to tell Python Sugar app to play sound.
   global Sound
   if {$Sound} {
-    echo PlaySound [lindex $soundspec 0]
-    exec play res/sounds/[string tolower [lindex $soundspec 0]].wav &
+    #echo PlaySound [lindex $soundspec 0]
+    signal ignore SIGCHLD
+    exec res/sounds/player res/sounds/[string tolower [lindex $soundspec 0]].wav &
   }
 }
 
Impressum, Datenschutz