aboutsummarylogtreecommitdiffstats
path: root/dom4
diff options
context:
space:
mode:
Diffstat (limited to 'dom4')
-rwxr-xr-xdom44
1 files changed, 4 insertions, 0 deletions
diff --git a/dom4 b/dom4
index 40647d8108c3..8f04edc96d28 100755
--- a/dom4
+++ b/dom4
@@ -45,6 +45,10 @@ EOF
}
function ready {
+ if [[ ! -z $1 ]]; then
+ echo $1 > /usr/share/dom4/current
+ fi
+
if [[ ! -s /usr/share/dom4/current ]]; then
echo "No current game found. Use dom4 config to load game configuration."
exit 1