From cb60556ac0c8a347a9b043260f98d3e33dac8559 Mon Sep 17 00:00:00 2001 From: Anuken Date: Mon, 26 Aug 2019 12:23:09 -0400 Subject: [PATCH] Disabled structure mirroring --- core/src/io/anuke/mindustry/maps/filters/MirrorFilter.java | 4 +++- ios/build.gradle | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) 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