changed logs, flown pres

This commit is contained in:
3alTemp 2024-03-03 22:26:16 -06:00
parent f30e8be399
commit 5ad94067eb
No known key found for this signature in database
GPG Key ID: FC599A8DFAEC706C
2 changed files with 5 additions and 8 deletions

View File

@ -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?...)

View File

@ -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