Sanity checks in _00E_Theriantrophist_PlayerAsWerewolf
This commit is contained in:
parent
b41636d086
commit
09a3cb142c
Binary file not shown.
@ -351,7 +351,7 @@ Function _ReapplySkins()
|
|||||||
|
|
||||||
Actor player = GetReference() as Actor
|
Actor player = GetReference() as Actor
|
||||||
|
|
||||||
if player.IsOnMount() || player.IsSwimming()
|
if !player || player.IsOnMount() || player.IsSwimming()
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -383,7 +383,8 @@ Function _FixNotTransformedPlayerSkin()
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
Actor player = GetReference() as Actor
|
Actor player = GetReference() as Actor
|
||||||
if ! player.IsOnMount() && ! player.IsSwimming()
|
|
||||||
|
if player && ! player.IsOnMount() && ! player.IsSwimming()
|
||||||
player.getActorBase().SetSkin(player.GetRace().GetSkin())
|
player.getActorBase().SetSkin(player.GetRace().GetSkin())
|
||||||
player.QueueNiNodeUpdate()
|
player.QueueNiNodeUpdate()
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user