@@ -22,18 +22,18 @@ public struct RoundType(string name, int teamSize, CsItem? primary, CsItem? seco
2222 public readonly bool EnabledByDefault = enabledByDefaultAction ;
2323 public readonly Action < List < CCSPlayerController > ? , List < CCSPlayerController > ? > ? StartFunction = startFunction ;
2424 public readonly Action < List < CCSPlayerController > ? , List < CCSPlayerController > ? > ? EndFunction = endFunction ;
25- public static readonly RoundType Rifle = new RoundType ( "k4.rounds.rifle" , 1 , null , null , true , WeaponType . Rifle , true ) ;
26- public static readonly RoundType Sniper = new RoundType ( "k4.rounds.sniper" , 1 , null , null , true , WeaponType . Sniper , true ) ;
27- public static readonly RoundType Shotgun = new RoundType ( "k4.rounds.shotgun" , 1 , null , null , true , WeaponType . Shotgun , true ) ;
28- public static readonly RoundType Pistol = new RoundType ( "k4.rounds.pistol" , 1 , null , null , false , null , true ) ;
29- public static readonly RoundType Scout = new RoundType ( "k4.rounds.scout" , 1 , CsItem . Scout , null , false , null , true ) ;
30- public static readonly RoundType AWP = new RoundType ( "k4.rounds.awp" , 1 , CsItem . AWP , null , false , null , true ) ;
31- public static readonly RoundType Deagle = new RoundType ( "k4.rounds.deagle" , 1 , null , CsItem . Deagle , false , null , false ) ;
32- public static readonly RoundType SMG = new RoundType ( "k4.rounds.smg" , 1 , null , null , true , WeaponType . SMG , true ) ;
33- public static readonly RoundType LMG = new RoundType ( "k4.rounds.lmg" , 1 , null , null , true , WeaponType . LMG , true ) ;
34- public static readonly RoundType TwoVSTwo = new RoundType ( "k4.rounds.2vs2" , 2 , null , null , true , WeaponType . Unknown , true ) ;
35- public static readonly RoundType ThreeVSThree = new RoundType ( "k4.rounds.3vs3" , 3 , null , null , true , WeaponType . Unknown , true ) ;
36- public static readonly RoundType Knife = new RoundType ( "k4.rounds.knife" , 1 , null , null , false , null , false , false , false ) ;
25+ public static readonly RoundType Rifle = new ( "k4.rounds.rifle" , 1 , null , null , true , WeaponType . Rifle , true ) ;
26+ public static readonly RoundType Sniper = new ( "k4.rounds.sniper" , 1 , null , null , true , WeaponType . Sniper , true ) ;
27+ public static readonly RoundType Shotgun = new ( "k4.rounds.shotgun" , 1 , null , null , true , WeaponType . Shotgun , true ) ;
28+ public static readonly RoundType Pistol = new ( "k4.rounds.pistol" , 1 , null , null , false , null , true ) ;
29+ public static readonly RoundType Scout = new ( "k4.rounds.scout" , 1 , CsItem . Scout , null , false , null , true ) ;
30+ public static readonly RoundType AWP = new ( "k4.rounds.awp" , 1 , CsItem . AWP , null , false , null , true ) ;
31+ public static readonly RoundType Deagle = new ( "k4.rounds.deagle" , 1 , null , CsItem . Deagle , false , null , false ) ;
32+ public static readonly RoundType SMG = new ( "k4.rounds.smg" , 1 , null , null , true , WeaponType . SMG , true ) ;
33+ public static readonly RoundType LMG = new ( "k4.rounds.lmg" , 1 , null , null , true , WeaponType . LMG , true ) ;
34+ public static readonly RoundType TwoVSTwo = new ( "k4.rounds.2vs2" , 2 , null , null , true , WeaponType . Unknown , true ) ;
35+ public static readonly RoundType ThreeVSThree = new ( "k4.rounds.3vs3" , 3 , null , null , true , WeaponType . Unknown , true ) ;
36+ public static readonly RoundType Knife = new ( "k4.rounds.knife" , 1 , null , null , false , null , false , false , false ) ;
3737
3838 public static List < RoundType > RoundTypes { get ; } = [ ] ;
3939
@@ -47,7 +47,7 @@ public static void AddRoundType(RoundTypeReader roundType)
4747
4848 public static int AddSpecialRoundType ( string name , int teamSize , bool enabledByDefault , Action < List < CCSPlayerController > ? , List < CCSPlayerController > ? > startFunction , Action < List < CCSPlayerController > ? , List < CCSPlayerController > ? > endFunction )
4949 {
50- RoundType specialRound = new RoundType ( name , teamSize , null , null , false , null , false , false , false , enabledByDefault , startFunction , endFunction ) ;
50+ RoundType specialRound = new ( name , teamSize , null , null , false , null , false , false , false , enabledByDefault , startFunction , endFunction ) ;
5151 RoundTypes . Add ( specialRound ) ;
5252 return specialRound . ID ;
5353 }
0 commit comments