UPDATE: yaw beam only appears when player is shooting

This commit is contained in:
2025-03-18 23:18:24 +01:00
parent 259e68b832
commit e168e413e0
4 changed files with 10 additions and 6 deletions

View File

@@ -31,6 +31,7 @@ class Match:
player.pitch = self.current_tick[self.current_tick["player_steamid"] == player.steam_id]["pitch"].values[0]
player.yaw = self.current_tick[self.current_tick["player_steamid"] == player.steam_id]["yaw"].values[0]
player.dead = self.current_tick[self.current_tick["player_steamid"] == player.steam_id]["is_alive"].values[0] == 0
player.is_shooting = self.current_tick[self.current_tick["player_steamid"] == player.steam_id]["shots_fired"].values[0]
def _update_round(self) -> None:
if self.current_tick.empty: