fix: Adds missing string interpolation handler for SetStringSlot (#2123)
This commit is contained in:
parent
899146dcb7
commit
6d7b1b8bee
6 changed files with 21 additions and 7 deletions
|
|
@ -88,7 +88,8 @@ public abstract class StaticWarningGump<T> : StaticGump<T> where T : StaticWarni
|
|||
|
||||
protected sealed override void BuildStrings(ref GumpStringsBuilder builder)
|
||||
{
|
||||
builder.SetStringSlot("content", Content.Color(ContentColor));
|
||||
var contentText = Content.AsSpan().Color(ContentColor);
|
||||
builder.SetStringSlot("content", ref contentText);
|
||||
}
|
||||
|
||||
public override void OnResponse(NetState sender, in RelayInfo info) => _callback?.Invoke(info.ButtonID == 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue