mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-27 01:13:13 +08:00
changed logs, flown pres
This commit is contained in:
parent
f30e8be399
commit
5ad94067eb
@ -36,6 +36,8 @@
|
||||
EraOSBeta!)
|
||||
- Added a UI for customizing Series Length in Teams and Points-to-Win in FFA
|
||||
(Thanks EraOSBeta!)
|
||||
- Players leaving the game after getting hurt will now grant kills. (Thanks
|
||||
Temp!)
|
||||
|
||||
### 1.7.32 (build 21741, api 8, 2023-12-20)
|
||||
- Fixed a screen message that no one will ever see (Thanks vishal332008?...)
|
||||
|
||||
@ -79,14 +79,12 @@ class PlayerSpaz(Spaz):
|
||||
@overload
|
||||
def getplayer(
|
||||
self, playertype: type[PlayerT], doraise: Literal[False] = False
|
||||
) -> PlayerT | None:
|
||||
...
|
||||
) -> PlayerT | None: ...
|
||||
|
||||
@overload
|
||||
def getplayer(
|
||||
self, playertype: type[PlayerT], doraise: Literal[True]
|
||||
) -> PlayerT:
|
||||
...
|
||||
) -> PlayerT: ...
|
||||
|
||||
def getplayer(
|
||||
self, playertype: type[PlayerT], doraise: bool = False
|
||||
@ -226,10 +224,7 @@ class PlayerSpaz(Spaz):
|
||||
# Report player deaths to the game.
|
||||
if not self._dead:
|
||||
# Was this player killed while being held?
|
||||
was_held = (
|
||||
self.held_count > 0
|
||||
and self.last_player_held_by
|
||||
)
|
||||
was_held = self.held_count > 0 and self.last_player_held_by
|
||||
# Was this player attacked before death?
|
||||
was_attacked_recently = (
|
||||
self.last_player_attacked_by
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user