From f5e533691d6a38ad8308a5c2f4c642fb1e3b6c6d Mon Sep 17 00:00:00 2001
From: DeltaLima <marcus@deltalima.org>
Date: Tue, 25 Mar 2025 22:00:15 +0100
Subject: [PATCH] added missing git submodule init for 0.20 update

---
 install-xash3d.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/install-xash3d.sh b/install-xash3d.sh
index 9a69cca..3f4cf92 100755
--- a/install-xash3d.sh
+++ b/install-xash3d.sh
@@ -257,6 +257,7 @@ case $XASH_INSTALL_MODE in
         checkerror $?
         #test "$XASH_INSTALL_TYPE" != "server" && 
         git pull
+        git submodule update --init --recursive
         checkerror $?
       ;;
     esac