Updated travis config / Fixed flying mech land effect

This commit is contained in:
Anuken
2018-10-18 21:57:13 -04:00
parent dd2c71fe61
commit a9ccf6ca42
2 changed files with 23 additions and 21 deletions

View File

@@ -512,7 +512,7 @@ public class Player extends Unit implements BuilderTrait, CarryTrait, ShooterTra
}
Effects.effect(UnitFx.unitLand, tile.floor().minimapColor, x, y, tile.floor().isLiquid ? 1f : 0.5f);
}
mech.onLand(this);
if(!mech.flying) mech.onLand(this);
achievedFlight = false;
}