From 95541dc6453fe4a441bd3a2260f4d505100c7bdf Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sun, 6 Apr 2025 15:23:40 -0400 Subject: [PATCH] Do not repeat trying to screenshot a map, EVEN if the branch isn't marked done. --- misc/tools/xonotic-map-compiler-autobuild | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.39.5