mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
Updating a few minigames to api 9
This commit is contained in:
parent
089b04dc27
commit
17e968ddfc
16 changed files with 44 additions and 74 deletions
|
|
@ -1,19 +1,17 @@
|
|||
# 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
|
||||
|
||||
import babase
|
||||
import bauiv1 as bui
|
||||
import bascenev1 as bs
|
||||
from bascenev1lib.actor.playerspaz import PlayerSpaz
|
||||
from bascenev1lib.actor.scoreboard import Scoreboard
|
||||
from bascenev1lib.game.deathmatch import DeathMatchGame
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from typing import Any, Sequence
|
||||
from typing import Sequence
|
||||
|
||||
|
||||
lang = bs.app.lang.language
|
||||
|
|
@ -197,7 +195,6 @@ class BoxingGame(DeathMatchGame):
|
|||
import random
|
||||
from babase import _math
|
||||
from bascenev1._gameutils import animate
|
||||
from bascenev1._coopsession import CoopSession
|
||||
|
||||
if isinstance(self.session, bs.DualTeamSession):
|
||||
position = self.map.get_start_position(player.team.id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue