From 8ccfa1bb45d87b0024dcd0c953506b651c39ff76 Mon Sep 17 00:00:00 2001 From: NotNierPea <130810875+NotNierPea@users.noreply.github.com> Date: Sat, 6 Apr 2024 23:53:16 +0300 Subject: [PATCH 1/2] fix linking error (ShieldRegisterDvarName removed) --- scripts/core_common/main/headers.gsc | 2 +- scripts/core_common/shield/commands.gsc | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/core_common/main/headers.gsc b/scripts/core_common/main/headers.gsc index 97932d7..59f7c3b 100644 --- a/scripts/core_common/main/headers.gsc +++ b/scripts/core_common/main/headers.gsc @@ -96,7 +96,7 @@ __init__() { streak_vehicle_callback(); #ifdef SHIELD_GSC_DEPLOY - thread atian_menu_think(); + //thread atian_menu_think(); #endif } diff --git a/scripts/core_common/shield/commands.gsc b/scripts/core_common/shield/commands.gsc index 1da02a3..a1d1094 100644 --- a/scripts/core_common/shield/commands.gsc +++ b/scripts/core_common/shield/commands.gsc @@ -1,4 +1,5 @@ #ifdef SHIELD_GSC_DEPLOY +/# atian_menu_think() { level endon(#"end_game", #"game_ended"); @@ -90,4 +91,5 @@ atian_menu_think() { setdvar(#"amc", ""); } } +#/ #endif \ No newline at end of file From 340bb2bcda8a2f36e39fdf7c9f6002bda7e43847 Mon Sep 17 00:00:00 2001 From: Pea <130810875+NotNierPea@users.noreply.github.com> Date: Sun, 7 Apr 2024 14:09:39 +0300 Subject: [PATCH 2/2] fine --- scripts/core_common/shield/commands.gsc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/core_common/shield/commands.gsc b/scripts/core_common/shield/commands.gsc index a1d1094..f9533a3 100644 --- a/scripts/core_common/shield/commands.gsc +++ b/scripts/core_common/shield/commands.gsc @@ -1,5 +1,5 @@ #ifdef SHIELD_GSC_DEPLOY -/# +/* atian_menu_think() { level endon(#"end_game", #"game_ended"); @@ -91,5 +91,5 @@ atian_menu_think() { setdvar(#"amc", ""); } } -#/ -#endif \ No newline at end of file +*/ +#endif