fix: Removes scoped for gump AppendTo (#1405)
### Summary .NET 6 had a bug that required the `scoped` keyword for the gump AppendTo. It looks like this was fixed since then.
This commit is contained in:
parent
35237ff7d1
commit
a7edba3712
27 changed files with 29 additions and 29 deletions
|
|
@ -45,7 +45,7 @@ public class GumpTextEntry : GumpEntry
|
|||
|
||||
public string InitialText { get; set; }
|
||||
|
||||
public override void AppendTo(ref SpanWriter writer, OrderedHashSet<string> strings, scoped ref int entries, scoped ref int switches)
|
||||
public override void AppendTo(ref SpanWriter writer, OrderedHashSet<string> strings, ref int entries, ref int switches)
|
||||
{
|
||||
var textIndex = strings.GetOrAdd(InitialText ?? "");
|
||||
writer.WriteAscii($"{{ textentry {X} {Y} {Width} {Height} {Hue} {EntryID} {textIndex} }}");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue