X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/blobdiff_plain/60c8544e968f52b9ef73f7fae3dbe373453c2e79..146092b843bf23e3af1e62235355524f9c2a97f3:/res/micropolis.tcl diff --git a/res/micropolis.tcl b/res/micropolis.tcl index 142fa24..6c6c03a 100644 --- a/res/micropolis.tcl +++ b/res/micropolis.tcl @@ -939,11 +939,11 @@ proc UISetChannelVolume {win chan vol} { proc EchoPlaySound {soundspec} { # Temporary workaround to tell Python Sugar app to play sound. - global Sound + global Sound ResourceDir if {$Sound} { #echo PlaySound [lindex $soundspec 0] signal ignore SIGCHLD - exec res/sounds/player res/sounds/[string tolower [lindex $soundspec 0]].wav & + exec "${ResourceDir}/sounds/player" "${ResourceDir}/sounds/[string tolower [lindex $soundspec 0]].wav" & } }