upd: sync local changes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
iisaevandClaude Opus 5.5 committed 2026-10-16 16:18:16 +00:00
1 parent 7a30f4b8c5
commit 6884cd5374
36 files changed
+3363 -6

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
using Cthangover.Core.Factories.Impls;
using Godot;
using Cthangover.Core.UI.Menu;
namespace Cthangover.Mods.Interface.Menu
{
/// <summary>
/// Auto-loading save icon: on _Ready, resolves the "save" texture through
/// UIIconFactory if no Texture is already assigned. Allows both editor-set
/// textures and mod-overridden icons without scene modification.
/// </summary>
public partial class SaveIcon : TextureRect
{
public override void _Ready()
{
if (Texture == null)
Texture = UIIconFactory.Instance.Get("save");
}
}
}