Skip to content

Commit

Permalink
Derive Reflect for Player
Browse files Browse the repository at this point in the history
  • Loading branch information
rparrett committed Jul 25, 2024
1 parent 6f1c3ee commit 0f3eaa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bevy-jornet/src/leaderboards.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use std::time::{SystemTime, UNIX_EPOCH};

use bevy::{
log::warn,
prelude::{Event, EventWriter, ResMut, Resource},
prelude::{Event, EventWriter, Reflect, ResMut, Resource},
tasks::IoTaskPool,
};
use hmac::{Hmac, Mac};
Expand Down Expand Up @@ -300,7 +300,7 @@ impl ScoreInput {
}

/// A player, as returned from the server
#[derive(Serialize, Deserialize, Debug, Clone)]
#[derive(Serialize, Deserialize, Debug, Clone, Reflect)]
pub struct Player {
/// its ID
pub id: Uuid,
Expand Down

0 comments on commit 0f3eaa5

Please sign in to comment.