Skip to content

Commit dfdaf27

Browse files
fix merge conflict error
1 parent 3049d02 commit dfdaf27

File tree

4 files changed

+12
-14
lines changed

4 files changed

+12
-14
lines changed

About/About.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,10 @@ rw-chaos: German translation
5656
53N4: Spanish translation
5757
Silverside: Fix UI scaling bug for vertical text
5858
shiuanyue: Chinese (traditional) translation
59+
notfood:
5960

6061
<size=24>Version</size>
61-
This is version 3.13.503, for RimWorld 1.1.2575.
62+
This is version 3.13.503, for RimWorld 1.1.2579.
6263

6364
</description>
6465
<supportedVersions>

Assemblies/ResearchTree.dll

6.5 KB
Binary file not shown.

Readme.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Luckily, the crossing reduction and edge length reduction steps partially achiev
4848
- 53N4: Spanish translation
4949
- Silverside: Fix UI scaling bug for vertical text
5050
- shiuanyue: Chinese (traditional) translation
51+
- notfood:
5152

5253
# Think you found a bug?
5354
Please read [this guide](http://steamcommunity.com/sharedfiles/filedetails/?id=725234314) before creating a bug report,
@@ -70,4 +71,4 @@ Show your appreciation by buying me a coffee (or contribute towards a nice singl
7071
[![I Have a Black Dog](https://i.ibb.co/ss59Rwy/New-Project-2.png)](https://www.youtube.com/watch?v=XiCrniLQGYc)
7172

7273
# Version
73-
This is version 3.13.503, for RimWorld 1.1.2575.
74+
This is version 3.13.503, for RimWorld 1.1.2579.

Source/Graph/ResearchNode.cs

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,6 @@ public List<ResearchNode> Children
7878
}
7979
}
8080

81-
public override bool Completed => Research.IsFinished;
82-
public override bool Available => !Research.IsFinished && ( DebugSettings.godMode || BuildingPresent() );
83-
8481
public override string Label => Research.LabelCap;
8582

8683
public static bool BuildingPresent( ResearchProjectDef research )
@@ -190,7 +187,7 @@ public bool TechprintAvailable()
190187
{
191188
return TechprintAvailable( Research );
192189
}
193-
190+
194191
/// <summary>
195192
/// Draw the node, including interactions.
196193
/// </summary>
@@ -263,15 +260,14 @@ public override void Draw( Rect visibleRect, bool forceDetailedMode = false )
263260
// attach description and further info to a tooltip
264261
TooltipHandler.TipRegion( Rect, GetResearchTooltipString, Research.GetHashCode() );
265262
if ( !BuildingPresent() )
266-
TooltipHandler.TipRegion( Rect,
267-
"Fluffy.ResearchTree.MissingFacilities".Translate( string.Join( ", ",
268-
MissingFacilities().Select( td => td.LabelCap ).ToArray() ) ) );
269-
}
263+
TooltipHandler.TipRegion( Rect, "Fluffy.ResearchTree.MissingFacilities".Translate(
264+
string.Join( ", ",
265+
MissingFacilities()
266+
.Select( td => td.LabelCap ).ToArray() ) ) );
267+
270268
else if ( !TechprintAvailable() )
271-
{
272-
TooltipHandler.TipRegion(Rect,
273-
"Fluffy.ResearchTree.MissingTechprints".Translate(Research.TechprintsApplied, Research.techprintCount));
274-
}
269+
TooltipHandler.TipRegion( Rect, "Fluffy.ResearchTree.MissingTechprints".Translate(
270+
Research.TechprintsApplied, Research.techprintCount ) );
275271

276272
// draw unlock icons
277273
if ( detailedMode )

0 commit comments

Comments
 (0)