From 7df5200a10c01fc3cec42137fd7dd8793a07b3e9 Mon Sep 17 00:00:00 2001 From: nyuwaea Date: Sat, 2 May 2026 21:04:57 -0400 Subject: [PATCH 1/2] fix: annoying skin error in MapButton --- scripts/ui/menu/play/MapButton.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/ui/menu/play/MapButton.cs b/scripts/ui/menu/play/MapButton.cs index 505be7f..f763671 100644 --- a/scripts/ui/menu/play/MapButton.cs +++ b/scripts/ui/menu/play/MapButton.cs @@ -80,7 +80,7 @@ public override void _Process(double delta) { OutlineFill = (float)Mathf.Lerp(OutlineFill, targetOutlineFill, Math.Min(1, 10 * delta)); - float now = (float)Time.GetTicksMsec(); + float now = Time.GetTicksMsec(); Favorited.RotationDegrees = ListIndex * -10 + now / 20; Favorited.Modulate = Color.Color8(255, 255, 255, (byte)(225 + 30 * Math.Sin(Math.PI * now / 2000 + ListIndex))); @@ -143,7 +143,10 @@ public virtual void UpdateSkin(SkinProfile skin = null) { skin ??= SkinManager.Instance.Skin; - Favorited.Texture = skin.FavoriteImage; + if (IsInstanceValid(Favorited) && Favorited.IsInsideTree()) + { + Favorited.Texture = skin.FavoriteImage; + } } private float computeSizeOffset() From 7a57469f9bc8883ecbbb497558639846abf24631 Mon Sep 17 00:00:00 2001 From: nyuwaea Date: Sat, 2 May 2026 21:12:56 -0400 Subject: [PATCH 2/2] migrate to Godot 4.6.2 --- Rhythia.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rhythia.csproj b/Rhythia.csproj index 041d012..bf10e04 100644 --- a/Rhythia.csproj +++ b/Rhythia.csproj @@ -1,4 +1,4 @@ - + net10.0 net10.0