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