forked from tutorials/rust-sokoban
Fix showing won state
This commit is contained in:
parent
3541bb95a6
commit
0d31199910
@ -30,6 +30,12 @@ impl event::EventHandler for Game {
|
|||||||
is.run_now(&self.world);
|
is.run_now(&self.world);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Run gameplay state system
|
||||||
|
{
|
||||||
|
let mut gss = GameplayStateSystem {};
|
||||||
|
gss.run_now(&self.world);
|
||||||
|
}
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user