docs(common): sports_plugin_host keeps the plugins' note on why Vegas weighting exists

The scoreboards' manager.py introduced get_vegas_priority_weight with a
section comment; the adoption drops it with the copies, so it moves here.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Chuck
2026-09-30 21:13:00 -04:00
co-authored by Claude Opus 5.5
parent 11a7ca9671
commit f71e02e7ed
+7
View File
@@ -129,6 +129,13 @@ class SportsPluginHostMixin:
thread.start()
# ---- Vegas weighting: is a favourite playing? -----------------------
#
# With display.vegas_scroll.live_in_ticker set, the marquee keeps running
# through a live game and plugins can claim more than one slot per cycle.
# The core already gives any plugin with live content `live_weight`; this
# exists for the one thing the core cannot work out for itself, which is
# *whose* game is live. See PLUGIN_API_REFERENCE, "Vegas scroll hooks",
# and ADVANCED_FEATURES, "Live content in the ticker".
def get_vegas_priority_weight(self):
"""Slots per Vegas cycle: more when a favorite team is playing.