diff --git a/core/src/com/unciv/logic/map/action/BuildLongRoadAction.kt b/core/src/com/unciv/logic/map/action/BuildLongRoadAction.kt index 108ace77..9a9cf451 100644 --- a/core/src/com/unciv/logic/map/action/BuildLongRoadAction.kt +++ b/core/src/com/unciv/logic/map/action/BuildLongRoadAction.kt @@ -3,6 +3,7 @@ package com.unciv.logic.map.action import com.badlogic.gdx.graphics.Color import com.unciv.logic.map.BFS import com.unciv.logic.map.MapUnit +import com.unciv.logic.map.RoadStatus import com.unciv.logic.map.TileInfo class BuildLongRoadAction( @@ -17,6 +18,7 @@ class BuildLongRoadAction( override fun isAvailable(): Boolean = unit.hasUnique("Can build improvements on tiles") && getPath(target).isNotEmpty() + && unit.civInfo.tech.getBestRoadAvailable() != RoadStatus.None override fun doPreTurnAction() { diff --git a/desktop/src/com/unciv/app/desktop/DesktopLauncher.java b/desktop/src/com/unciv/app/desktop/DesktopLauncher.java index 402744a2..0a7af1d2 100644 --- a/desktop/src/com/unciv/app/desktop/DesktopLauncher.java +++ b/desktop/src/com/unciv/app/desktop/DesktopLauncher.java @@ -17,7 +17,7 @@ class DesktopLauncher { // This is so they don't look all pixelated settings.filterMag = Texture.TextureFilter.MipMapLinearLinear; settings.filterMin = Texture.TextureFilter.MipMapLinearLinear; - TexturePacker.process(settings, "../images", ".", "game"); + TexturePacker.process(settings, "../Images", ".", "game"); LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); new LwjglApplication(new UnCivGame("Desktop"), config);