mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2025-11-07 17:36:15 +00:00
Custom characters intigration and plugin switches.
Custom characters plugin. true/false switch in settings for character chooser and custom characters. (defaulty true) Fixed path of bcs_plugin. Removed duplicate of bcs plugin.
This commit is contained in:
parent
837af6666b
commit
6ad7972a4b
7 changed files with 63 additions and 128 deletions
16
dist/ba_root/mods/plugins/CharacterChooser.py
vendored
16
dist/ba_root/mods/plugins/CharacterChooser.py
vendored
|
|
@ -346,15 +346,9 @@ def _update_text(self) -> None:
|
|||
|
||||
self._text_node.text = text
|
||||
|
||||
# ba_meta export plugin
|
||||
class HeySmoothy(ba.Plugin):
|
||||
|
||||
def __init__(self):
|
||||
_lobby.Chooser.__init__=__init__
|
||||
_lobby.Chooser._set_ready=_set_ready
|
||||
|
||||
_lobby.Chooser._update_text=_update_text
|
||||
_lobby.Chooser.handlemessage=handlemessage
|
||||
|
||||
|
||||
def enable() -> None:
|
||||
_lobby.Chooser.__init__=__init__
|
||||
_lobby.Chooser._set_ready=_set_ready
|
||||
|
||||
_lobby.Chooser._update_text=_update_text
|
||||
_lobby.Chooser.handlemessage=handlemessage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue