Fix omission of user supplied args
authorbones_was_here <bones_was_here@yahoo.com.au>
Sun, 12 Apr 2020 21:32:45 +0000 (07:32 +1000)
committerbones_was_here <bones_was_here@yahoo.com.au>
Sun, 12 Apr 2020 21:32:45 +0000 (07:32 +1000)
misc/tools/all/xonotic.subr

index 9d338b8..9eb9bc0 100644 (file)
@@ -396,7 +396,7 @@ case "$cmd" in
        serverbench)
                # TODO(rpolzer): Why does :anticheat: output differ? Total game time differs? Why?
                mkdir -p .serverbench_temp
-               verbose "$SELF" run dedicated -noconfig -userdir .serverbench_temp +exec serverbench.cfg |\
+               verbose "$SELF" run dedicated "$@" -noconfig -userdir .serverbench_temp +exec serverbench.cfg |\
                        tee /dev/stderr |\
                        grep '^:' |\
                        grep -v '^:gamestart:' |\