@@ -79,7 +79,7 @@ def load_match_config(config_path: Path | str) -> flat.MatchConfiguration:
79
79
80
80
players = []
81
81
for car_table in config .get ("cars" , []):
82
- car_config = __str (car_table , "config " )
82
+ car_config = __str (car_table , "config_file " )
83
83
name = __str (car_table , "name" )
84
84
team = __team (car_table )
85
85
loadout_file = __str (car_table , "loadout_file" ) or None
@@ -108,7 +108,7 @@ def load_match_config(config_path: Path | str) -> flat.MatchConfiguration:
108
108
109
109
scripts = []
110
110
for script_table in config .get ("scripts" , []):
111
- if script_config := __str (script_table , "config " ):
111
+ if script_config := __str (script_table , "config_file " ):
112
112
abs_config_path = (config_path .parent / script_config ).resolve ()
113
113
scripts .append (load_script_config (abs_config_path ))
114
114
else :
@@ -126,7 +126,7 @@ def load_match_config(config_path: Path | str) -> flat.MatchConfiguration:
126
126
ball_weight = __enum (mutator_table , "ball_weight" , flat .BallWeightMutator ),
127
127
ball_size = __enum (mutator_table , "ball_size" , flat .BallSizeMutator ),
128
128
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 ),
130
130
rumble = __enum (mutator_table , "rumble" , flat .RumbleMutator ),
131
131
boost_strength = __enum (mutator_table , "boost_strength" , flat .BoostStrengthMutator ),
132
132
gravity = __enum (mutator_table , "gravity" , flat .GravityMutator ),
0 commit comments