mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-28 01:43:22 +08:00
Update _gameactivity.py
This commit is contained in:
parent
7516211136
commit
58f222d8dc
@ -852,6 +852,10 @@ class GameActivity(Activity[PlayerType, TeamType]):
|
||||
name = player.getname()
|
||||
color = player.color
|
||||
highlight = player.highlight
|
||||
|
||||
playerspaztype = player.playerspaztype
|
||||
if playerspaztype is None:
|
||||
playerspaztype = PlayerSpaz
|
||||
|
||||
light_color = _math.normalized_color(color)
|
||||
display_color = _ba.safecolor(color, target_intensity=0.75)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user