From 75ab8a88cc60ce5f908577e6e04b5b66ae86aded Mon Sep 17 00:00:00 2001 From: Edo Date: Mon, 25 Dec 2023 11:30:07 +0100 Subject: [PATCH] remove splitscreen code --- iw4x/iw4x_00/maps/mp/gametypes/infect.gsc | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/iw4x/iw4x_00/maps/mp/gametypes/infect.gsc b/iw4x/iw4x_00/maps/mp/gametypes/infect.gsc index fb8e2af..14a22bb 100644 --- a/iw4x/iw4x_00/maps/mp/gametypes/infect.gsc +++ b/iw4x/iw4x_00/maps/mp/gametypes/infect.gsc @@ -65,16 +65,9 @@ onStartGameType() setObjectiveText( "allies", &"OBJECTIVES_INFECT" ); setObjectiveText( "axis", &"OBJECTIVES_INFECT" ); - if ( level.splitscreen ) - { - setObjectiveScoreText( "allies", &"OBJECTIVES_INFECT" ); - setObjectiveScoreText( "axis", &"OBJECTIVES_INFECT" ); - } - else - { - setObjectiveScoreText( "allies", &"OBJECTIVES_INFECT_SCORE" ); - setObjectiveScoreText( "axis", &"OBJECTIVES_INFECT_SCORE" ); - } + setObjectiveScoreText( "allies", &"OBJECTIVES_INFECT_SCORE" ); + setObjectiveScoreText( "axis", &"OBJECTIVES_INFECT_SCORE" ); + setObjectiveHintText( "allies", &"OBJECTIVES_INFECT_HINT" ); setObjectiveHintText( "axis", &"OBJECTIVES_INFECT_HINT" ); @@ -805,4 +798,4 @@ setSpecialLoadouts() level.infect_loadouts["allies"]["loadoutPerk2"] = "specialty_lightweight"; level.infect_loadouts["allies"]["loadoutPerk3"] = "specialty_heartbreaker"; level.infect_loadouts["allies"]["loadoutDeathstreak"] = "specialty_null"; -} \ No newline at end of file +}