Skip to content

Commit

Permalink
fix spaceship update
Browse files Browse the repository at this point in the history
  • Loading branch information
vpoulailleau committed Jan 15, 2024
1 parent 4a495c2 commit 74df0b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions space_collector/viewer/spaceship.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ def setup(self) -> None:
self.lightning_sprite.height = 1

def update(self, server_data: dict, duration: float) -> None:
super().update(server_data, duration)
if server_data["fire"]:
self.lightning_alpha.add_animations(
initial_value=self.lightning_alpha.value,
Expand Down

0 comments on commit 74df0b3

Please sign in to comment.