# HG changeset patch # User Emmanuel Gil Peyrot # Date 1565615439 -7200 # Node ID cdb484115c5b3b4ba9dc9b6de2891ddb14a59b7a # Parent 1bb8b34dbd32e074c9421b6d950067a51547a858 Use the requested rank in eclrenderer. diff --git a/examples/eclrenderer.rs b/examples/eclrenderer.rs --- a/examples/eclrenderer.rs +++ b/examples/eclrenderer.rs @@ -125,7 +125,7 @@ fn main() { let prng = Rc::new(RefCell::new(Prng::new(0))); // Create the Game god object. - let game = Game::new(prng, Rank::Normal); + let game = Game::new(prng, rank); let game = Rc::new(RefCell::new(game)); // And the enemy object.