diff --git a/core/src/io/anuke/mindustry/maps/filters/MirrorFilter.java b/core/src/io/anuke/mindustry/maps/filters/MirrorFilter.java index f3c9062b5e..27fc101b5e 100644 --- a/core/src/io/anuke/mindustry/maps/filters/MirrorFilter.java +++ b/core/src/io/anuke/mindustry/maps/filters/MirrorFilter.java @@ -33,7 +33,9 @@ public class MirrorFilter extends GenerateFilter{ mirror(v3, v1.x, v1.y, v2.x, v2.y); Tile tile = in.tile(v3.x, v3.y); in.floor = tile.floor(); - in.block = tile.block(); + if(!tile.block().synthetic()){ + in.block = tile.block(); + } in.ore = tile.overlay(); } } diff --git a/ios/build.gradle b/ios/build.gradle index 6fc88382bb..94e198be83 100644 --- a/ios/build.gradle +++ b/ios/build.gradle @@ -36,6 +36,12 @@ task copyAssets(){ } } +task deploy{ + dependsOn copyAssets + dependsOn createIPA +} + + build.dependsOn copyAssets launchIPhoneSimulator.dependsOn build