diff options
| author | Arne Dußin | 2021-01-11 14:21:03 +0100 |
|---|---|---|
| committer | Arne Dußin | 2021-01-11 16:02:03 +0100 |
| commit | b1179849c28e50c39ac3c94af9dda86ee24beca0 (patch) | |
| tree | 6fc845d3547bdeb87de75e0f049132de3e05a81d /src/tool/rect_room_tool.rs | |
| parent | ec071d5bc677101c0168b5fb3065f2d928234ed9 (diff) | |
| download | graf_karto-b1179849c28e50c39ac3c94af9dda86ee24beca0.tar.gz graf_karto-b1179849c28e50c39ac3c94af9dda86ee24beca0.zip | |
Rename PolygonRoom to just Room
Diffstat (limited to 'src/tool/rect_room_tool.rs')
| -rw-r--r-- | src/tool/rect_room_tool.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool/rect_room_tool.rs b/src/tool/rect_room_tool.rs index da23fd7..ec0f0ec 100644 --- a/src/tool/rect_room_tool.rs +++ b/src/tool/rect_room_tool.rs @@ -55,7 +55,7 @@ impl Tool for RectRoomTool { return; } - map.push_polygon_room(Rect::bounding_rect(pos1, pos2).into()); + map.push_room(Rect::bounding_rect(pos1, pos2).into()); self.unfinished_rect = None; } else { self.unfinished_rect = Some((*mouse_pos_m, *mouse_pos_m)); @@ -69,7 +69,7 @@ impl Tool for RectRoomTool { return; } - map.push_polygon_room(Rect::bounding_rect(pos1, pos2).into()); + map.push_room(Rect::bounding_rect(pos1, pos2).into()); self.unfinished_rect = None; } } |
