Browse Source

Fix portraits not moving into new position

master
Christopher 9 years ago
parent
commit
c95dd146fc
  1. 8
      Assets/Fungus/Narrative/Scripts/ConversationManager.cs

8
Assets/Fungus/Narrative/Scripts/ConversationManager.cs

@ -114,6 +114,14 @@ namespace Fungus
portraitOptions.toPosition = currentPosition;
portraitOptions.portrait = currentPortrait;
// Do a move tween if the same character as before is moving to a new position
// In all other cases snap to the new position.
if (previousCharacter == currentCharacter &&
previousPosition != currentPosition)
{
portraitOptions.move = true;
}
stage.Show(portraitOptions);
}

Loading…
Cancel
Save