summaryrefslogtreecommitdiff
path: root/play.sh
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-06-16 02:00:01 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-06-16 02:00:01 +0200
commit7b4ec50fc7b4838b0dd91ef2ea9adcf94209b4fb (patch)
treeb36910c972ee8839ff97c985fe7e9de9bc2d4264 /play.sh
parentb8d3c010d8641a55de8753642c866ab104185ebf (diff)
downloadplay-7b4ec50fc7b4838b0dd91ef2ea9adcf94209b4fb.tar.gz
play-7b4ec50fc7b4838b0dd91ef2ea9adcf94209b4fb.tar.bz2
play-7b4ec50fc7b4838b0dd91ef2ea9adcf94209b4fb.zip
Added ff8
Diffstat (limited to 'play.sh')
-rwxr-xr-xplay.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/play.sh b/play.sh
index d4cdf08..912ce9f 100755
--- a/play.sh
+++ b/play.sh
@@ -87,7 +87,7 @@ PREFIX="~/.wine"
# functions
play_execute () {
- exc -e startx $BIN -x $GAME -- :1 -ac -br -quiet ${=EXARGS}
+ exc -e startx $BIN -x $GAME -- $DISPLAY -ac -br -quiet ${=EXARGS}
}
play_prepare () {
@@ -121,7 +121,6 @@ EXPORT play execute prepare setenv run cleanup
if [[ $1 == "-x" ]]; then
load $2
- setenv
prepare
run
cleanup
@@ -143,6 +142,7 @@ else
else
out "Launching '$GAME'"
load $GAME
+ setenv
execute
fi
fi