From f12d51cd98f4f9a290bd49c5d070ea8230254506 Mon Sep 17 00:00:00 2001
From: DeltaLima <marcus@deltalima.org>
Date: Tue, 25 Mar 2025 21:55:20 +0100
Subject: [PATCH] add `git submodule update --init --recursive` before update

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

diff --git a/install-xash3d.sh b/install-xash3d.sh
index a773413..6d1502e 100755
--- a/install-xash3d.sh
+++ b/install-xash3d.sh
@@ -242,6 +242,7 @@ case $XASH_INSTALL_MODE in
           checkerror $?
         fi
         git pull
+        git submodule update --init --recursive
         checkerror $?
         cd bin        
       ;;