Skip to content

Commit

Permalink
Fix TICK_RATE const
Browse files Browse the repository at this point in the history
  • Loading branch information
VirxEC committed Aug 12, 2023
1 parent 8dfb568 commit 3a3e408
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
26 changes: 13 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rlviser-py"
version = "0.3.0"
version = "0.3.1"
edition = "2021"
description = "Python implementation that manages a UDP connection to RLViser"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pynamedmodule! {
classes: []
}

const TICK_RATE: f32 = 1. / 120.;
const TICK_RATE: f32 = 120.;

static TICK_COUNT: AtomicU64 = AtomicU64::new(0);
static BOOST_PAD_LOCATIONS: RwLock<[Vec3; BOOST_PADS_LENGTH]> = RwLock::new([Vec3::ZERO; BOOST_PADS_LENGTH]);
Expand Down

0 comments on commit 3a3e408

Please sign in to comment.