From 53928f4b6ceb607bca08cf9a2a36824b0944f2c1 Mon Sep 17 00:00:00 2001 From: Guillaume Pasquet Date: Mon, 18 Nov 2019 05:38:59 +0000 Subject: Convert from ncurses to crossterm --- src/world.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/world.rs') 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) -- cgit v1.2.3