mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2026-08-15 13:04:30 +00:00
Linted custom_hooks.
Now every game script related things are now hooked to custom_hooks.
This commit is contained in:
parent
2676c4ef99
commit
569e9bc968
4 changed files with 117 additions and 108 deletions
4
dist/ba_data/python/ba/_activitytypes.py
vendored
4
dist/ba_data/python/ba/_activitytypes.py
vendored
|
|
@ -168,8 +168,8 @@ class ScoreScreenActivity(Activity[EmptyPlayer, EmptyTeam]):
|
|||
from bastd.actor.text import Text
|
||||
from ba import _language
|
||||
super().on_begin()
|
||||
from stats import mystats
|
||||
mystats.update(self._stats)
|
||||
import custom_hooks
|
||||
custom_hooks.score_screen_on_begin(self._stats)
|
||||
|
||||
# Pop up a 'press any button to continue' statement after our
|
||||
# min-view-time show a 'press any button to continue..'
|
||||
|
|
|
|||
|
|
@ -72,7 +72,8 @@ class PlayerSpaz(Spaz):
|
|||
self._player = player
|
||||
self._drive_player_position()
|
||||
|
||||
modifyspaz.main(self, self.node, self._player)
|
||||
import custom_hooks
|
||||
custom_hooks.playerspaz_init(self, self.node, self._player)
|
||||
|
||||
# Overloads to tell the type system our return type based on doraise val.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue