]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/xonotic-map-screenshot
adjust timeouts for auto screenshots
[xonotic/xonotic.git] / misc / tools / xonotic-map-screenshot
index 1c65379c9f31cba0f8b63e3a1031c5b7a570bec3..0d3127e5d23aaed92f1630acf1d549d6cc66d8b6 100755 (executable)
@@ -20,7 +20,7 @@ count=`yes x | head -n "$count" | tr -cd x`
        +'sv_cheats 2' \
        +'set catchme "catchme_"' \
        +"alias catchme_$count \"quit\"" \
-       +'alias "autoscreenshot" "$catchme; set catchme \"${catchme}x\"; impulse 911; defer 1 \"screenshot; autoscreenshot\""' \
+       +'alias "autoscreenshot" "$catchme; set catchme \"${catchme}x\"; impulse 911; defer 2 \"screenshot; autoscreenshot\""' \
        +'alias cl_hook_gamestart_all "cmd join; defer 1 god; defer 2 noclip; defer 3 autoscreenshot"' \
        +"defer \"$watchdog\" quit" \
        +"map \"$map\"" \