aboutsummaryrefslogtreecommitdiff
path: root/src/world.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/world.rs')
-rw-r--r--src/world.rs2
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)