mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
[ci] auto-format
This commit is contained in:
parent
41d898aa17
commit
bb0389566a
1 changed files with 2 additions and 5 deletions
|
|
@ -201,8 +201,6 @@ def new_bomb_init(func):
|
|||
args[0].node.connectattr('position', args[0].radius_visualizer,
|
||||
'position')
|
||||
|
||||
|
||||
|
||||
args[0].radius_visualizer_circle = bs.newnode(
|
||||
'locator',
|
||||
owner=args[
|
||||
|
|
@ -223,7 +221,6 @@ def new_bomb_init(func):
|
|||
args[0].radius_visualizer_circle,
|
||||
'position')
|
||||
|
||||
|
||||
if bomb_type == 'tnt':
|
||||
args[0].fatal = bs.newnode('locator',
|
||||
owner=args[0].node,
|
||||
|
|
@ -291,6 +288,7 @@ def update_bomb_visual(bomb):
|
|||
0.2: [0.0],
|
||||
})
|
||||
|
||||
|
||||
bascenev1lib.actor.bomb.Bomb.__init__ = new_bomb_init(
|
||||
bascenev1lib.actor.bomb.Bomb.__init__)
|
||||
|
||||
|
|
@ -468,8 +466,6 @@ def bot_handlemessage(func):
|
|||
bs.PowerupAcceptMessage())
|
||||
return True
|
||||
|
||||
|
||||
|
||||
if isinstance(args[1], bs.HitMessage):
|
||||
update_hit_visual(args[0])
|
||||
|
||||
|
|
@ -548,6 +544,7 @@ def update_hit_visual(node):
|
|||
0.25: 0.0
|
||||
})
|
||||
|
||||
|
||||
Spaz.handlemessage = bot_handlemessage(Spaz.handlemessage)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue