Skip to content

Commit

Permalink
Oh geez RimWorld API fix from 3/2
Browse files Browse the repository at this point in the history
  • Loading branch information
alextd committed Jun 28, 2020
1 parent 492902a commit bcb3290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Alert_GearedUp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public override AlertReport GetReport()
public override Rect DrawAt(float topY, bool minimized)
{
//float height = TexGearUpAndGo.guagIconActive.height; //The read out really doesn't handle custom heights :/
float height = Alert.Height;
float height = Height;
Rect rect = new Rect((float)UI.screenWidth - Padding - height, topY, height, height);
GUI.color = Color.white;
GUI.DrawTexture(rect, TexGearUpAndGo.guagIconActive);
Expand Down

0 comments on commit bcb3290

Please sign in to comment.