diff options
author | Guillaume Pasquet <dev@etenil.net> | 2019-11-18 05:38:59 +0000 |
---|---|---|
committer | Guillaume Pasquet <dev@etenil.net> | 2019-11-18 05:38:59 +0000 |
commit | 53928f4b6ceb607bca08cf9a2a36824b0944f2c1 (patch) | |
tree | cec20b5fa470826e362297c20f404813f1cf7d70 /src/world.rs | |
parent | 545a32a6830d722835ed3d739165f498b874b8d8 (diff) |
Convert from ncurses to crossterm
Diffstat (limited to 'src/world.rs')
-rw-r--r-- | src/world.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/world.rs b/src/world.rs index 99e5ca9..96c928d 100644 --- a/src/world.rs +++ b/src/world.rs @@ -295,7 +295,7 @@ impl Level { } pub fn get_start_point(&self) -> Point { - if self.rooms.is_empty() { + if !self.rooms.is_empty() { return self.rooms[0].center; } (0, 0) |