Permalink
Browse files

Don't copy the tiles DVec

  • Loading branch information...
1 parent bb0d390 commit 0e0d487a2be12b881d83fcf1c2680d00a020282d @brson brson committed Dec 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 layers.rs
View
@@ -198,7 +198,7 @@ pub fn TiledImageLayer(in_tiles: &[@layers::Image], tiles_across: uint) -> Tiled
TiledImageLayer {
common: CommonLayer(),
- tiles: tiles,
+ tiles: move tiles,
tiles_across: tiles_across
}
}

0 comments on commit 0e0d487

Please sign in to comment.