]> cvs.zerfleddert.de Git - micropolis/blobdiff - res/micropolis.tcl
correctly resize editor window to be in sync with the mini map
[micropolis] / res / micropolis.tcl
index b1379c1212f74aaf2675d3530011a3b703cfd8e7..dac3517d84f444af64c499f9cbbc7eeba4d91f0e 100644 (file)
@@ -940,7 +940,9 @@ proc EchoPlaySound {soundspec} {
   # Temporary workaround to tell Python Sugar app to play sound.
   global Sound
   if {$Sound} {
   # Temporary workaround to tell Python Sugar app to play sound.
   global Sound
   if {$Sound} {
-    echo PlaySound [lindex $soundspec 0]
+    #echo PlaySound [lindex $soundspec 0]
+    signal ignore SIGCHLD
+    exec res/sounds/player res/sounds/[string tolower [lindex $soundspec 0]].wav &
   }
 }
 
   }
 }
 
Impressum, Datenschutz