From aa764b22648bba04e7e8041aec5d7c275fa611c0 Mon Sep 17 00:00:00 2001 From: Jbleezy Date: Thu, 11 Aug 2022 18:40:31 -0700 Subject: [PATCH] Encounter Pro: remove unlimited sprint --- README.md | 1 + scripts/zm/_zm_reimagined.gsc | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b78e05e3..37de4fcd 100644 --- a/README.md +++ b/README.md @@ -522,4 +522,5 @@ * Removed Mystery Box * Removed powerups * Removed buildables +* Removed unlimited sprint * Power Station: disabled door to Power Station zone \ No newline at end of file diff --git a/scripts/zm/_zm_reimagined.gsc b/scripts/zm/_zm_reimagined.gsc index 5171bc1d..139b1e41 100644 --- a/scripts/zm/_zm_reimagined.gsc +++ b/scripts/zm/_zm_reimagined.gsc @@ -338,7 +338,11 @@ set_client_dvars() set_perks() { - self setperk( "specialty_unlimitedsprint" ); + if(!(getDvar("g_gametype") == "zgrief" && getDvarIntDefault("ui_gametype_pro", 0))) + { + self setperk( "specialty_unlimitedsprint" ); + } + self setperk( "specialty_fastmantle" ); self setperk( "specialty_fastladderclimb" ); }