Browse Source

Fixed hide portrait before show portrait breaks portrait system #384

master
chrisgregan 9 years ago
parent
commit
d1b76a096c
  1. 8
      Assets/Fungus/Narrative/Scripts/Commands/Portrait.cs

8
Assets/Fungus/Narrative/Scripts/Commands/Portrait.cs

@ -136,6 +136,14 @@ namespace Fungus
return;
}
// Early out if hiding a character that's already hidden
if (display == DisplayType.Hide &&
!character.state.onScreen)
{
Continue();
return;
}
// Use default settings
if (useDefaultSettings)
{

Loading…
Cancel
Save