aboutsummarylogtreecommitdiffstats
path: root/brutal-doom
diff options
context:
space:
mode:
Diffstat (limited to 'brutal-doom')
-rwxr-xr-xbrutal-doom6
1 files changed, 5 insertions, 1 deletions
diff --git a/brutal-doom b/brutal-doom
index 75a7ae9508b0..648ed6c0691d 100755
--- a/brutal-doom
+++ b/brutal-doom
@@ -11,4 +11,8 @@ if [ ! -f "$XDG_CONFIG_HOME/brutal-doom/gzdoom.ini" ]; then
cp "/usr/share/games/brutal-doom/gzdoom.ini" "$XDG_CONFIG_HOME/brutal-doom/"
fi
-gzdoom -config "$XDG_CONFIG_HOME/brutal-doom/gzdoom.ini"
+for arg in "$@"; do
+ args="$args -file $arg"
+done
+
+gzdoom -config "$XDG_CONFIG_HOME/brutal-doom/gzdoom.ini" $args