diff --git a/lgsm/functions/mods_core.sh b/lgsm/functions/mods_core.sh
index 0ccc548de..8d0eaf19d 100644
--- a/lgsm/functions/mods_core.sh
+++ b/lgsm/functions/mods_core.sh
@@ -169,7 +169,6 @@ fn_mod_get_info(){
 					modinfocommand="1"
 					break
 				fi
-				((totalmodsavailable++))
 			done
 		fi
 		# Exit the loop if job is done