From bcb32905eddf334eb7d8449fa9b9137dd975bc50 Mon Sep 17 00:00:00 2001 From: Alex Tearse-Doyle Date: Sun, 28 Jun 2020 16:53:24 -0700 Subject: [PATCH] Oh geez RimWorld API fix from 3/2 --- Source/Alert_GearedUp.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Alert_GearedUp.cs b/Source/Alert_GearedUp.cs index 8484dca..a8245dc 100644 --- a/Source/Alert_GearedUp.cs +++ b/Source/Alert_GearedUp.cs @@ -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);