Skip to content

Commit

Permalink
Reduce values for less noisy logs
Browse files Browse the repository at this point in the history
  • Loading branch information
johanhelsing committed Nov 8, 2023
1 parent d8de917 commit e3a4aa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/manual_tests/respawn_entity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ pub struct Health(u32);

impl Default for Health {
fn default() -> Self {
Self(10)
Self(3)
}
}

fn main() -> Result<(), Box<dyn std::error::Error>> {
let mut session = SessionBuilder::<GgrsConfig>::new()
.with_num_players(1)
// each frame, roll back and resimulate 5 frames back in time, and compare checksums
.with_check_distance(5);
.with_check_distance(2);
session = session.add_player(PlayerType::Local, 0)?;
let session = session.start_synctest_session()?;

Expand Down

0 comments on commit e3a4aa6

Please sign in to comment.