Browse Source

Merge pull request #405 from FungusGames/hide-before-show

Fixed hide portrait before show portrait breaks portrait system #384
master
Chris Gregan 9 years ago
parent
commit
7b54f40af5
  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