From 80cdac081944d39c6fb836340c7c49b28be4b9a1 Mon Sep 17 00:00:00 2001 From: xe1os <39219862+xe1os@users.noreply.github.com> Date: Fri, 5 Jun 2026 22:35:40 +0530 Subject: [PATCH] Implement removal of Metamod: Source 2 line from gameinfo.gi Add functionality to remove Metamod: Source 2 from gameinfo.gi during uninstallation. --- lgsm/modules/command_mods_remove.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lgsm/modules/command_mods_remove.sh b/lgsm/modules/command_mods_remove.sh index 04240eb60..6c237dd1d 100755 --- a/lgsm/modules/command_mods_remove.sh +++ b/lgsm/modules/command_mods_remove.sh @@ -161,6 +161,11 @@ if [ "${modcommand}" == "amxmodx" ]; then fn_mod_remove_amxmodx_file fi +# Remove metamod line from gameinfo.gi when uninstalling Metamod: Source 2 +if [ "${modcommand}" == "metamodsource2" ]; then + fn_mod_remove_gameinfo_gi_file +fi + echo -e "${modprettyname} removed" fn_script_log "${modprettyname} removed"