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:
Kamron Batman 2023-05-21 00:46:25 -07:00 • committed by GitHub
parent 35237ff7d1
commit a7edba3712
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 29 additions and 29 deletions

View file

@ -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} }}");