]> git.zerfleddert.de Git - micropolis/blobdiff - res/micropolis.tcl
search for available audioplayer
[micropolis] / res / micropolis.tcl
index b1379c1212f74aaf2675d3530011a3b703cfd8e7..7b65a4c38623c0d1e04532a5804faee174b05dfc 100644 (file)
@@ -941,6 +941,8 @@ proc EchoPlaySound {soundspec} {
   global Sound
   if {$Sound} {
     echo PlaySound [lindex $soundspec 0]
+    signal ignore SIGCHLD
+    exec res/sounds/player res/sounds/[string tolower [lindex $soundspec 0]].wav &
   }
 }
 
Impressum, Datenschutz