X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis/blobdiff_plain/4f9aac609824866d312f85355f4fe2858a02f63d..ab91a0e01b40f16c744eae6aa611f8d5f0829a17:/res/micropolis.tcl diff --git a/res/micropolis.tcl b/res/micropolis.tcl index b05d5eb..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" & } } @@ -5250,8 +5250,7 @@ proc DoLeaveGame {head} { proc UILoseGame {} { global Messages UIShowPicture 200 - sim Speed 0 - sim Pause 1 + sim Pause AskQuestion [Color . #ff0000 #ffffff] [lindex $Messages(200) 1] \ [lindex $Messages(200) 2] \ ""\