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
1a276094a9
commit
f681ef4ad8
1 changed files with 7 additions and 7 deletions
|
|
@ -31,8 +31,8 @@ class State:
|
||||||
self.index = None
|
self.index = None
|
||||||
|
|
||||||
def apply(self, spaz):
|
def apply(self, spaz):
|
||||||
#spaz.disconnect_controls_from_player()
|
# spaz.disconnect_controls_from_player()
|
||||||
#spaz.connect_controls_to_player(enable_punch=self.punch,
|
# spaz.connect_controls_to_player(enable_punch=self.punch,
|
||||||
# enable_bomb=self.bomb,
|
# enable_bomb=self.bomb,
|
||||||
# enable_pickup=self.grab)
|
# enable_pickup=self.grab)
|
||||||
if self.curse:
|
if self.curse:
|
||||||
|
|
@ -177,11 +177,11 @@ class ArmsRaceGame(ba.TeamGameActivity[Player, Team]):
|
||||||
press_input = self.idk(player.actor)["press"]
|
press_input = self.idk(player.actor)["press"]
|
||||||
release_input = self.idk(player.actor)["release"]
|
release_input = self.idk(player.actor)["release"]
|
||||||
|
|
||||||
for press,release in zip(press_input.keys(),release_input.keys()):
|
for press, release in zip(press_input.keys(), release_input.keys()):
|
||||||
# player.assigninput(
|
# player.assigninput(
|
||||||
# press,
|
# press,
|
||||||
# lambda : player.actor.on_bomb_press()
|
# lambda : player.actor.on_bomb_press()
|
||||||
# )
|
# )
|
||||||
player.assigninput(
|
player.assigninput(
|
||||||
release,
|
release,
|
||||||
lambda: player.actor.on_bomb_release()
|
lambda: player.actor.on_bomb_release()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue