We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73bd396 commit 517f51aCopy full SHA for 517f51a
rlbot/managers/script.py
@@ -69,9 +69,9 @@ def _handle_match_settings(self, match_settings: flat.MatchSettings):
69
self._has_match_settings = True
70
71
# search match settings for our spawn id
72
- for player in self.match_settings.player_configurations:
73
- if player.spawn_id == self.spawn_id:
74
- self.name = player.name
+ for script in self.match_settings.script_configurations:
+ if script.spawn_id == self.spawn_id or self.spawn_id == 0:
+ self.name = script.name
75
self.logger = get_logger(self.name)
76
break
77
0 commit comments