Fixes sequential checks
This commit is contained in:
parent
83dcf536d8
commit
42d0b6271f
67 changed files with 99 additions and 99 deletions
|
|
@ -146,7 +146,7 @@ namespace Server.Mobiles
|
|||
|
||||
public override void OnDamage( int amount, Mobile from, bool willKill )
|
||||
{
|
||||
if ( from != null && from.Map != null )
|
||||
if ( @from?.Map != null )
|
||||
{
|
||||
int amt=0;
|
||||
Mobile target = this;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue