drunkards walk
This commit is contained in:
parent
d96d4881d5
commit
363ff4c0a3
5 changed files with 280 additions and 44 deletions
|
|
@ -122,7 +122,7 @@ fn get_item(ecs: &mut World) -> bool {
|
|||
|
||||
pub fn player_input(gs: &mut State, ctx: &mut Rltk) -> RunState {
|
||||
// Player movement
|
||||
let mut result = false;
|
||||
let result;
|
||||
match ctx.key {
|
||||
None => return RunState::AwaitingInput,
|
||||
Some(key) => match key {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue