a few generics and misc code cleanup
slight tweaks/opt
This commit is contained in:
parent
83190372f8
commit
566de1c2cf
20 changed files with 125 additions and 164 deletions
|
|
@ -79,7 +79,8 @@ namespace Server.Gumps
|
|||
else
|
||||
tree = Tokuno;
|
||||
|
||||
ParentNode branch = (ParentNode)tree.LastBranch[from];
|
||||
ParentNode branch = null;
|
||||
tree.LastBranch.TryGetValue( from, out branch );
|
||||
|
||||
if ( branch == null )
|
||||
branch = tree.Root;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue