@@ -79,7 +79,7 @@ def load_match_config(config_path: Path | str) -> flat.MatchConfiguration:
7979
8080 players = []
8181 for car_table in config .get ("cars" , []):
82- car_config = __str (car_table , "config " )
82+ car_config = __str (car_table , "config_file " )
8383 name = __str (car_table , "name" )
8484 team = __team (car_table )
8585 loadout_file = __str (car_table , "loadout_file" ) or None
@@ -108,7 +108,7 @@ def load_match_config(config_path: Path | str) -> flat.MatchConfiguration:
108108
109109 scripts = []
110110 for script_table in config .get ("scripts" , []):
111- if script_config := __str (script_table , "config " ):
111+ if script_config := __str (script_table , "config_file " ):
112112 abs_config_path = (config_path .parent / script_config ).resolve ()
113113 scripts .append (load_script_config (abs_config_path ))
114114 else :
@@ -126,7 +126,7 @@ def load_match_config(config_path: Path | str) -> flat.MatchConfiguration:
126126 ball_weight = __enum (mutator_table , "ball_weight" , flat .BallWeightMutator ),
127127 ball_size = __enum (mutator_table , "ball_size" , flat .BallSizeMutator ),
128128 ball_bounciness = __enum (mutator_table , "ball_bounciness" , flat .BallBouncinessMutator ),
129- boost = __enum (mutator_table , "boost_amount" , flat .BoostMutator ),
129+ boost_amount = __enum (mutator_table , "boost_amount" , flat .BoostAmountMutator ),
130130 rumble = __enum (mutator_table , "rumble" , flat .RumbleMutator ),
131131 boost_strength = __enum (mutator_table , "boost_strength" , flat .BoostStrengthMutator ),
132132 gravity = __enum (mutator_table , "gravity" , flat .GravityMutator ),
0 commit comments