瀏覽代碼

exitbypass

UltimateByte 9 年之前
父節點
當前提交
e38afe11ba
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      lgsm/functions/mods_core.sh

+ 2 - 1
lgsm/functions/mods_core.sh

@@ -245,14 +245,15 @@ fn_postinstall_tasks(){
 }
 }
 
 
 # Apply some post-uninstall fixes to make sure everything will be fine
 # Apply some post-uninstall fixes to make sure everything will be fine
-
 fn_postuninstall_tasks(){
 fn_postuninstall_tasks(){
 	# Oxide fix
 	# Oxide fix
 	# Oxide replaces server files, so a validate is required after uninstall
 	# Oxide replaces server files, so a validate is required after uninstall
 	if [ "${engine}" == "unity3d" ]&&[[ "${modprettyname}" == *"Oxide"* ]]; then
 	if [ "${engine}" == "unity3d" ]&&[[ "${modprettyname}" == *"Oxide"* ]]; then
 		fn_print_information_nl "Validating to restore original ${gamename} files replaced by Oxide"
 		fn_print_information_nl "Validating to restore original ${gamename} files replaced by Oxide"
 		fn_script_log "Validating to restore original ${gamename} files replaced by Oxide"
 		fn_script_log "Validating to restore original ${gamename} files replaced by Oxide"
+		exitbypass="1"
 		command_validate.sh
 		command_validate.sh
+		unset exitbypass
 	fi
 	fi
 }
 }