From a667b0623b8b0ff69ac95ae2e1eb8b9b17a71762 Mon Sep 17 00:00:00 2001 From: ineedbots Date: Mon, 22 Nov 2021 21:45:19 -0600 Subject: [PATCH] fix --- raw/scripts/nukespawns.gsc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/raw/scripts/nukespawns.gsc b/raw/scripts/nukespawns.gsc index fde8121..9410e90 100644 --- a/raw/scripts/nukespawns.gsc +++ b/raw/scripts/nukespawns.gsc @@ -10,8 +10,6 @@ init() setDvarIfUninitialized( "scr_killstreak_print", 0 ); setDvarIfUninitialized( "scr_printDamage", 0 ); - setDvarIfUninitialized( "scr_xpscale_", 1 ); - setDvarIfUninitialized( "scr_weaponxpscale_", 1 ); level.killstreakPrint = getDvarInt( "scr_killstreak_print" ); level.allowPrintDamage = getDvarInt( "scr_printDamage" ); @@ -37,6 +35,9 @@ onPlayerDamage( eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, main() { + setDvarIfUninitialized( "scr_xpscale_", 1 ); + setDvarIfUninitialized( "scr_weaponxpscale_", 1 ); + // fix G-GetPlayereye bug replaceFunc( maps\mp\killstreaks\_helicopter::heli_leave, ::heli_leave ); replaceFunc( maps\mp\killstreaks\_helicopter::heli_explode, ::heli_explode );