Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion rlbot/managers/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ def _try_initialize(self):
def _handle_match_config(self, match_config: flat.MatchConfiguration):
self.match_config = match_config
self._has_match_settings = True
self.can_render = (

self.renderer.can_render = (
match_config.enable_rendering == flat.DebugRendering.OnByDefault
)

Expand Down
4 changes: 4 additions & 0 deletions rlbot/managers/hivemind.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ def _handle_match_config(self, match_config: flat.MatchConfiguration):
self.match_config = match_config
self._has_match_settings = True

self.renderer.can_render = (
match_config.enable_rendering == flat.DebugRendering.OnByDefault
)

self._try_initialize()

def _handle_field_info(self, field_info: flat.FieldInfo):
Expand Down
3 changes: 2 additions & 1 deletion rlbot/managers/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ def _try_initialize(self):
def _handle_match_config(self, match_config: flat.MatchConfiguration):
self.match_config = match_config
self._has_match_settings = True
self.can_render = (

self.renderer.can_render = (
match_config.enable_rendering == flat.DebugRendering.OnByDefault
)

Expand Down
2 changes: 1 addition & 1 deletion rlbot/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.0.0-beta.50"
__version__ = "2.0.0-beta.51"