From b99e81ee2319a869f5db1f16951be11cebe960d0 Mon Sep 17 00:00:00 2001 From: efinst0rm Date: Wed, 1 Nov 2023 20:46:10 -0500 Subject: [PATCH] Fix small issues with gungame and infected. --- iw4x/iw4x_00/maps/mp/gametypes/gun.gsc | 1 + iw4x/iw4x_00/maps/mp/gametypes/infect.gsc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/iw4x/iw4x_00/maps/mp/gametypes/gun.gsc b/iw4x/iw4x_00/maps/mp/gametypes/gun.gsc index eb0669b..cd20610 100644 --- a/iw4x/iw4x_00/maps/mp/gametypes/gun.gsc +++ b/iw4x/iw4x_00/maps/mp/gametypes/gun.gsc @@ -38,6 +38,7 @@ main() registerTimeLimitDvar( level.gameType, 10 ); scoreLimit = level.gun_guns.size; SetDvar( "scr_gun_scorelimit", scoreLimit ); + registerScoreLimitDvar( level.gametype, level.gun_guns.size ); registerRoundLimitDvar( level.gameType, 1, 0, 10 ); registerWinLimitDvar( level.gameType, 1, 0, 10 ); registerNumLivesDvar( level.gameType, 0, 0, 10 ); diff --git a/iw4x/iw4x_00/maps/mp/gametypes/infect.gsc b/iw4x/iw4x_00/maps/mp/gametypes/infect.gsc index 47e92fc..d35fab1 100644 --- a/iw4x/iw4x_00/maps/mp/gametypes/infect.gsc +++ b/iw4x/iw4x_00/maps/mp/gametypes/infect.gsc @@ -831,7 +831,7 @@ setSpecialLoadouts() level.infect_loadouts["allies"]["loadoutSecondaryAttachment2"] = "xmags"; level.infect_loadouts["allies"]["loadoutSecondaryCamo"] = "none"; level.infect_loadouts["allies"]["loadoutEquipment"] = "claymore_mp"; - level.infect_loadouts["allies"]["loadoutOffhand"] = "flash_grenade_mp"; + level.infect_loadouts["allies"]["loadoutOffhand"] = "flash_grenade"; level.infect_loadouts["allies"]["loadoutPerk1"] = "specialty_scavenger"; level.infect_loadouts["allies"]["loadoutPerk2"] = "specialty_lightweight"; level.infect_loadouts["allies"]["loadoutPerk3"] = "specialty_heartbreaker";