Fix error that can occur while writing an error log
If an error somehow occurred before customizer.decide_on_link_model was called, the custom model name not being initialized properly yet could cause an error to happen when writing the error log. (Probably couldn't actually happen in practice.)
@@ -301,7 +301,7 @@ class Randomizer:
# If race mode is not on, this list will remain empty.
self.race_mode_banned_locations = []
- self.custom_model_name = "Link"
+ self.custom_model_name = self.options.get("custom_player_model", "Link")
self.using_custom_sail_texture = False
self.logic = Logic(self)
