From 759ac868dd43e05aa1b6408506274cba1d43084a Mon Sep 17 00:00:00 2001 From: ntr Date: Tue, 10 Sep 2019 11:58:55 +1000 Subject: [PATCH] return time controls --- server/src/instance.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/instance.rs b/server/src/instance.rs index e814aa3d..4d69927a 100644 --- a/server/src/instance.rs +++ b/server/src/instance.rs @@ -51,7 +51,7 @@ pub enum TimeControl { impl TimeControl { fn vbox_time_seconds(&self) -> i64 { match self { - TimeControl::Standard => 10, + TimeControl::Standard => 180, TimeControl::Slow => 240, TimeControl::Practice => panic!("practice vbox seconds called"), } @@ -59,7 +59,7 @@ impl TimeControl { fn game_time_seconds(&self) -> i64 { match self { - TimeControl::Standard => 10, + TimeControl::Standard => 60, TimeControl::Slow => 120, TimeControl::Practice => panic!("practice game seconds called"), }