spell radial texture fix
This commit is contained in:
@@ -45,7 +45,8 @@ public sealed class SpellSelectorBUI : BoundUserInterface
|
|||||||
if (icon == null)
|
if (icon == null)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
var button = _radialContainer.AddButton(proto.Name, icon.ToString());
|
var texture = icon.Frame0();
|
||||||
|
var button = _radialContainer.AddButton(proto.Name, texture);
|
||||||
|
|
||||||
button.Controller.OnPressed += _ =>
|
button.Controller.OnPressed += _ =>
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
useDelay: 50
|
useDelay: 50
|
||||||
canTargetSelf: false
|
canTargetSelf: false
|
||||||
icon:
|
icon:
|
||||||
sprite: /Objects/Materials/Sheets/metal.rsi
|
sprite: /Textures/Objects/Materials/Sheets/metal.rsi
|
||||||
state: steel
|
state: steel
|
||||||
event: !type:CultTwistedConstructionActionEvent
|
event: !type:CultTwistedConstructionActionEvent
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user