aboutsummaryrefslogtreecommitdiff
path: root/src/state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.rs')
-rw-r--r--src/state.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/state.rs b/src/state.rs
index 8d0b164..7553f58 100644
--- a/src/state.rs
+++ b/src/state.rs
@@ -1,5 +1,4 @@
use pancurses::Window;
-use std::env;
use crate::entities::{Character, Entity, Render};
use crate::world::{Dungeon, Generatable, Level};
@@ -32,7 +31,7 @@ impl State {
}
pub fn show_character(&self, window: &Window) {
- self.character.render(window);
+ self.player.render(window);
}
fn current_level(&self) -> &Level {