Updating max_players.py to api 9

This commit is contained in:
Vishal 2025-01-21 22:01:28 +05:30 committed by GitHub
parent b520093917
commit 1b190ff3a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 4 deletions

View file

@ -1,8 +1,6 @@
# Porting to api 8 made easier by baport.(https://github.com/bombsquad-community/baport)
"""===========MAX_PLAYERS==========="""
# ba_meta require api 8
# (see https://ballistica.net/wiki/meta-tag-system)
# ba_meta require api 9
from __future__ import annotations
from typing import TYPE_CHECKING
@ -369,4 +367,4 @@ class MaxPlayersPlugin(babase.Plugin):
MultiTeamSession.get_max_players = get_max_players
GatherWindow.__init__ = __gather_init__
GatherWindow._save_state = _save_state
GatherWindow._restore_state = _restore_state
GatherWindow._restore_state = _restore_state