Skip to content

Commit

Permalink
Merge pull request #97 from johanhelsing/pub-frame-count
Browse files Browse the repository at this point in the history
Expose `RollbackFrameCount` value
  • Loading branch information
gschup authored Dec 8, 2023
2 parents 03d11a1 + 2bbf2c0 commit a590afb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ impl Default for FixedTimestepData {

/// Keeps track of the current frame the rollback simulation is in
#[derive(Resource, Debug, Default, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct RollbackFrameCount(i32);
pub struct RollbackFrameCount(pub i32);

impl From<RollbackFrameCount> for i32 {
fn from(value: RollbackFrameCount) -> i32 {
Expand Down

0 comments on commit a590afb

Please sign in to comment.