impl game over

This commit is contained in:
bel
2020-05-06 08:47:43 -06:00
parent e0bff631e0
commit bc9c8b232a

View File

@@ -26,6 +26,9 @@ impl GameMaster {
}
pub fn game_election(&mut self) -> Result<GameEvent, Role> {
let mut ge = GameEventType::ElectionPend.build();
let president_candidate = self.candidate_presidents.pop().unwrap();
ge.d["targets"] = [president_candidate.clone()];
Err(Role::Null)
}