spell radial texture fix

This commit is contained in:
EnefFlow
2023-11-16 15:16:27 +03:00
committed by Aviu00
parent 211013b84a
commit 2e8ce99380
2 changed files with 3 additions and 2 deletions

View File

@@ -45,7 +45,8 @@ public sealed class SpellSelectorBUI : BoundUserInterface
if (icon == null)
continue;
var button = _radialContainer.AddButton(proto.Name, icon.ToString());
var texture = icon.Frame0();
var button = _radialContainer.AddButton(proto.Name, texture);
button.Controller.OnPressed += _ =>
{

View File

@@ -8,7 +8,7 @@
useDelay: 50
canTargetSelf: false
icon:
sprite: /Objects/Materials/Sheets/metal.rsi
sprite: /Textures/Objects/Materials/Sheets/metal.rsi
state: steel
event: !type:CultTwistedConstructionActionEvent