diff --git a/Ship_Game/Empire.cs b/Ship_Game/Empire.cs index b4559fe4a8..da641a8fc4 100644 --- a/Ship_Game/Empire.cs +++ b/Ship_Game/Empire.cs @@ -2144,7 +2144,7 @@ bool TryGetTechFromHull(Ship ship, out TechEntry techEntry, out Empire empire) empire = ship.Universe.GetEmpireByShipType(hull.ShipType); if (empire == null) { - Log.Warning("Unlock by Scrap - tried to unlock rom an empire which does" + + Log.Warning("Unlock by Scrap - tried to unlock from an empire which does" + $"not exist in this game ({hull.ShipType}), probably " + "due to debug spawn ships or fleets."); diff --git a/Ship_Game/GameScreens/NewGame/ShipDesignUtils.cs b/Ship_Game/GameScreens/NewGame/ShipDesignUtils.cs index 02fe8553ec..5c83ae6893 100644 --- a/Ship_Game/GameScreens/NewGame/ShipDesignUtils.cs +++ b/Ship_Game/GameScreens/NewGame/ShipDesignUtils.cs @@ -154,10 +154,10 @@ static void MarkShipsUnlockable(Map moduleUnlocks, // add the full tree of techs to TechsNeeded foreach (string techName in leafTechsNeeds) AddRange(ship.TechsNeeded, techTreePaths[techName]); - - // also add techs from basehull (already full tree) - AddRange(ship.TechsNeeded, ship.BaseHull.TechsNeeded); } + + // add techs from basehull (already full tree), allow reverse engineering of this hull. + AddRange(ship.TechsNeeded, ship.BaseHull.TechsNeeded); } } }