Raise tickrate to 60

This commit is contained in:
Sofia 2026-07-18 02:57:27 +03:00
parent 1402b10180
commit e1b7572098

View File

@ -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 {