Fix small issues with gungame and infected.

pull/4/head
efinst0rm 2023-11-01 20:46:10 -05:00
parent 8931d48f48
commit b99e81ee23
2 changed files with 2 additions and 1 deletions

View File

@ -38,6 +38,7 @@ main()
registerTimeLimitDvar( level.gameType, 10 ); registerTimeLimitDvar( level.gameType, 10 );
scoreLimit = level.gun_guns.size; scoreLimit = level.gun_guns.size;
SetDvar( "scr_gun_scorelimit", scoreLimit ); SetDvar( "scr_gun_scorelimit", scoreLimit );
registerScoreLimitDvar( level.gametype, level.gun_guns.size );
registerRoundLimitDvar( level.gameType, 1, 0, 10 ); registerRoundLimitDvar( level.gameType, 1, 0, 10 );
registerWinLimitDvar( level.gameType, 1, 0, 10 ); registerWinLimitDvar( level.gameType, 1, 0, 10 );
registerNumLivesDvar( level.gameType, 0, 0, 10 ); registerNumLivesDvar( level.gameType, 0, 0, 10 );

View File

@ -831,7 +831,7 @@ setSpecialLoadouts()
level.infect_loadouts["allies"]["loadoutSecondaryAttachment2"] = "xmags"; level.infect_loadouts["allies"]["loadoutSecondaryAttachment2"] = "xmags";
level.infect_loadouts["allies"]["loadoutSecondaryCamo"] = "none"; level.infect_loadouts["allies"]["loadoutSecondaryCamo"] = "none";
level.infect_loadouts["allies"]["loadoutEquipment"] = "claymore_mp"; 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"]["loadoutPerk1"] = "specialty_scavenger";
level.infect_loadouts["allies"]["loadoutPerk2"] = "specialty_lightweight"; level.infect_loadouts["allies"]["loadoutPerk2"] = "specialty_lightweight";
level.infect_loadouts["allies"]["loadoutPerk3"] = "specialty_heartbreaker"; level.infect_loadouts["allies"]["loadoutPerk3"] = "specialty_heartbreaker";