Raise tickrate to 60
This commit is contained in:
parent
1402b10180
commit
e1b7572098
@ -98,7 +98,7 @@ pub struct Game {
|
||||
impl INode for Game {
|
||||
fn process(&mut self, delta: f64) {
|
||||
self.since_last_sync += delta;
|
||||
if self.since_last_sync > (1. / 30.) {
|
||||
if self.since_last_sync > (1. / 60.) {
|
||||
self.since_last_sync = 0.;
|
||||
if let Some(_) = self.current_map {
|
||||
if let Some(peer) = &mut NetworkManager::singleton().bind_mut().peer {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user