aboutsummaryrefslogtreecommitdiff
path: root/src/game/mod.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-06-04 19:53:43 +0200
committermetamuffin <metamuffin@disroot.org>2024-06-04 19:53:43 +0200
commite49a85505701740b195a03892e1fc5cf8d6382a2 (patch)
tree1b50918104b8066cae4eb2a08aa591755c99f7ec /src/game/mod.rs
parent473dc29e540cb1ed332b6f2895f6f6efe2d60e65 (diff)
downloadgpn-tron-rust-e49a85505701740b195a03892e1fc5cf8d6382a2.tar
gpn-tron-rust-e49a85505701740b195a03892e1fc5cf8d6382a2.tar.bz2
gpn-tron-rust-e49a85505701740b195a03892e1fc5cf8d6382a2.tar.zst
fix client disconnect
Diffstat (limited to 'src/game/mod.rs')
-rw-r--r--src/game/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/mod.rs b/src/game/mod.rs
index f59b5d5..3eab9de 100644
--- a/src/game/mod.rs
+++ b/src/game/mod.rs
@@ -12,6 +12,8 @@ pub mod server;
pub struct Config {
bind: SocketAddr,
tickrate: f32,
+ tickrate_speedup: f32,
+ tickrate_max: f32,
}
pub struct Game {