chore: Fixes variable types for possible performance issues (#2172)
This commit is contained in:
parent
6d43f2549c
commit
da517f56c4
82 changed files with 332 additions and 343 deletions
|
|
@ -8,7 +8,7 @@ public static class GumpUtilities
|
|||
{
|
||||
public static Packet Compile(this Gump g, NetState ns = null)
|
||||
{
|
||||
IGumpWriter disp = new DisplayGumpPacked(g);
|
||||
var disp = new DisplayGumpPacked(g);
|
||||
|
||||
if (!g.Draggable)
|
||||
{
|
||||
|
|
@ -46,7 +46,7 @@ public static class GumpUtilities
|
|||
|
||||
disp.Flush();
|
||||
|
||||
return (Packet)disp;
|
||||
return disp;
|
||||
}
|
||||
|
||||
public static int Intern(this List<string> strings, string value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue