Fixes sequential checks
This commit is contained in:
parent
83dcf536d8
commit
42d0b6271f
67 changed files with 99 additions and 99 deletions
|
|
@ -77,7 +77,7 @@ namespace Server.Spells.Fifth
|
|||
|
||||
PlayerMobile pm = Caster as PlayerMobile;
|
||||
|
||||
if ( pm != null && pm.Race != null )
|
||||
if ( pm?.Race != null )
|
||||
{
|
||||
pm.SetHairMods( pm.Race.RandomHair( pm.Female ), pm.Race.RandomFacialHair( pm.Female ) );
|
||||
pm.HairHue = pm.Race.RandomHairHue();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue