aboutsummaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/data.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/data.rs b/src/map/data.rs
index f7ec484..0c11d1c 100644
--- a/src/map/data.rs
+++ b/src/map/data.rs
@@ -44,7 +44,7 @@ impl MapData {
rect_rooms: map
.rect_rooms()
.iter()
- .map(|r| (r as &RectRoomData).clone())
+ .map(|r| *(r as &RectRoomData))
.collect(),
polygon_rooms: map
.polygon_rooms()