lots of little stuff, but mostly bank optimization, due to the weirdness of the calls
This commit is contained in:
parent
566de1c2cf
commit
f95101c201
29 changed files with 214 additions and 282 deletions
|
|
@ -1322,7 +1322,7 @@ namespace Server.Multis
|
|||
|
||||
BankBox box = m.BankBox;
|
||||
|
||||
if ( box == null || !box.TryDropItem( m, bankKey, false ) )
|
||||
if ( !box.TryDropItem( m, bankKey, false ) )
|
||||
bankKey.Delete();
|
||||
|
||||
m.AddToBackpack( packKey );
|
||||
|
|
|
|||
|
|
@ -327,7 +327,7 @@ namespace Server.Multis
|
|||
|
||||
BankBox box = m.BankBox;
|
||||
|
||||
if ( box == null || !box.TryDropItem( m, bankKey, false ) )
|
||||
if ( !box.TryDropItem( m, bankKey, false ) )
|
||||
bankKey.Delete();
|
||||
else
|
||||
m.LocalOverheadMessage( MessageType.Regular, 0x3B2, 502484 ); // A ship's key is now in my safety deposit box.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue