diff --git a/core/src/mindustry/client/Client.kt b/core/src/mindustry/client/Client.kt index 5385e2e09f..dfa023d297 100644 --- a/core/src/mindustry/client/Client.kt +++ b/core/src/mindustry/client/Client.kt @@ -141,7 +141,7 @@ object Client { if (showingTurrets || showingInvTurrets) { val enemyunits = Core.settings.getBool("enemyunitranges") val showall = Core.settings.getBool("showallturrets") - val flying = player.unit().isFlying + val flying = player.unit() == null || player.unit().isFlying val mousev = Core.input.mouseWorld() val mouseBuild = world.buildWorld(mousev.x, mousev.y) getTree().use {