summaryrefslogtreecommitdiff
path: root/play.sh
diff options
context:
space:
mode:
Diffstat (limited to 'play.sh')
-rwxr-xr-xplay.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/play.sh b/play.sh
index 4703648..4ec9aff 100755
--- a/play.sh
+++ b/play.sh
@@ -301,9 +301,8 @@ _new () { # {{{2
[[ -e $DGAME ]] && die "Game file already existing -- aborting!"
- inherit -e default
- set_eenv WINEPREFIX
- set_env WINEDEBUG
+ inherit -e default wine
+ setenv
[[ ! -e $WINEPREFIX ]] && die "Specified prefix '$PREFIX' does not exist"