From b5c268e1f92d59541eff4a9c359f2120091b4c0e Mon Sep 17 00:00:00 2001 From: zeobviouslyfakeacc Date: Sun, 2 Jun 2019 00:34:17 +0200 Subject: [PATCH] Fix missing hunger texture in status screen --- Patches/UIPanelPatches.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Patches/UIPanelPatches.cs b/Patches/UIPanelPatches.cs index b7c1244..bc08491 100644 --- a/Patches/UIPanelPatches.cs +++ b/Patches/UIPanelPatches.cs @@ -23,7 +23,8 @@ private static void Prefix(Panel_FirstAid __instance) { GameObject storedCaloriesRow = NGUITools.AddChild(windChillRow.parent.gameObject, windChillRow.gameObject); storedCaloriesRow.name = "StoredCaloriesWarmthLabel"; UISprite icon = storedCaloriesRow.transform.Find("Stat Icon").GetComponent(); - icon.spriteName = "ico_HUD_hunger"; //"ico_Radial_food2"; + icon.spriteName = "ico_status_hunger4"; // old: ico_HUD_hunger, ico_Radial_food2 + icon.transform.localPosition += new Vector3(-1, 0); // Tiny position nudge to center icon properly UILocalize nameLabel = storedCaloriesRow.transform.Find("Stat Label").GetComponent(); nameLabel.key = "GAMEPLAY_CalorieStore";