Skip to content

Commit

Permalink
Merge pull request Skullywag#35 from DoctorVanGogh/master
Browse files Browse the repository at this point in the history
Spoooooooooooooooooooons!
  • Loading branch information
Skullywag authored Feb 12, 2018
2 parents 84df7a3 + 5094020 commit 6459841
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Binary file modified Assemblies/ExtendedStorage.dll
Binary file not shown.
6 changes: 5 additions & 1 deletion Source/ExtendedStorage/Building_ExtendedStorage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,11 @@ public override void DrawGUIOverlay()
Color labelColor = new Color(1f, 1f, 0.5f, 0.75f); // yellowish white for our total stack counts - default is GenMapUI.DefaultThingLabelColor

if (!string.IsNullOrEmpty(_label))
GenMapUI.DrawThingLabel(StoredThings.First(), _label, labelColor);
{
var thing = StoredThings.FirstOrDefault();
if (thing != null)
GenMapUI.DrawThingLabel(thing, _label, labelColor);
}
}

public override void Draw()
Expand Down

0 comments on commit 6459841

Please sign in to comment.