From: Rudolf Polzer Date: Sun, 6 Apr 2025 19:23:40 +0000 (-0400) Subject: Do not repeat trying to screenshot a map, EVEN if the branch isn't marked done. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;p=xonotic%2Fxonotic.git Do not repeat trying to screenshot a map, EVEN if the branch isn't marked done. --- diff --git a/misc/tools/xonotic-map-compiler-autobuild b/misc/tools/xonotic-map-compiler-autobuild index 10a8e870..0d4a61ef 100755 --- a/misc/tools/xonotic-map-compiler-autobuild +++ b/misc/tools/xonotic-map-compiler-autobuild @@ -263,6 +263,11 @@ screenshotthemap() return fi + if lwp-request -m HEAD "$url$M-$blobhash/$M.ircss"; then + # already spammed the chatroom + return + fi + if ! unzip -l "$bspdir/$M-$blobhash.pk3" "maps/$M.bsp"; then # no BSP file return