Merge branch 'horizontal-vbox' of ssh://cryps.gg:40022/~/cryps into horizontal-vbox

This commit is contained in:
ntr
2019-05-14 14:02:05 +10:00
9 changed files with 442 additions and 107 deletions
+1 -1
View File
@@ -275,7 +275,7 @@ impl Instance {
fn next_round(&mut self) -> &mut Instance {
self.phase = InstancePhase::InProgress;
self.phase_end = Utc::now()
.checked_add_signed(Duration::seconds(150))
.checked_add_signed(Duration::seconds(15000))
.expect("could not set phase end");
+2 -1
View File
@@ -272,6 +272,7 @@ impl From<Skill> for Var {
Skill::Curse => Var::Curse,
Skill::Clutch => Var::Clutch,
Skill::Decay => Var::Decay,
Skill::Debuff => Var::Debuff,
Skill::Haste => Var::Haste,
Skill::Hostility => Var::Hostility,
Skill::Heal => Var::Heal,
@@ -551,7 +552,7 @@ impl Vbox {
// actually move
self.bound.push(self.free[i].remove(j));
self.bound.sort_unstable();
// self.bound.sort_unstable();
Ok(self)
}