progress bars
This commit is contained in:
+1
-1
@@ -564,7 +564,7 @@ impl Game {
|
||||
}
|
||||
|
||||
fn phase_timed_out(&self) -> bool {
|
||||
!Utc::now().signed_duration_since(self.phase_end).is_zero()
|
||||
Utc::now().signed_duration_since(self.phase_end).num_milliseconds() > 0
|
||||
}
|
||||
|
||||
pub fn upkeep(mut self) -> Game {
|
||||
|
||||
@@ -83,7 +83,7 @@ impl Instance {
|
||||
}
|
||||
|
||||
fn phase_timed_out(&self) -> bool {
|
||||
!Utc::now().signed_duration_since(self.phase_end).is_zero()
|
||||
Utc::now().signed_duration_since(self.phase_end).num_milliseconds() > 0
|
||||
}
|
||||
|
||||
fn timed_out_players(&self) -> Vec<Uuid> {
|
||||
|
||||
Reference in New Issue
Block a user