mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-28 01:43:22 +08:00
commit
1967943484
@ -119,7 +119,7 @@ class PluginSubsystem:
|
||||
)
|
||||
_ba.log(
|
||||
f'{len(disappeared_plugs)} plugin(s) no longer found:'
|
||||
f' {disappeared_plugs}',
|
||||
f' {str(disappeared_plugs)[1:-1]}.',
|
||||
to_server=False)
|
||||
for goneplug in disappeared_plugs:
|
||||
del _ba.app.config['Plugins'][goneplug]
|
||||
|
||||
@ -606,6 +606,7 @@ class Spaz(ba.Actor):
|
||||
"""
|
||||
assert self.node
|
||||
self.node.boxing_gloves = True
|
||||
self._has_boxing_gloves = True
|
||||
if self._demo_mode: # Preserve old behavior.
|
||||
self._punch_power_scale = 1.7
|
||||
self._punch_cooldown = 300
|
||||
@ -754,7 +755,6 @@ class Spaz(ba.Actor):
|
||||
ba.WeakCall(self._bomb_wear_off),
|
||||
timeformat=ba.TimeFormat.MILLISECONDS))
|
||||
elif msg.poweruptype == 'punch':
|
||||
self._has_boxing_gloves = True
|
||||
tex = PowerupBoxFactory.get().tex_punch
|
||||
self._flash_billboard(tex)
|
||||
self.equip_boxing_gloves()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user