|
|
|
@ -39,8 +39,10 @@ namespace Fungus
|
|
|
|
|
bool showPortraits = false; |
|
|
|
|
// Only show portrait selection if... |
|
|
|
|
if (t.character != null && // Character is selected |
|
|
|
|
t.character.portraits != null && // Character has a portraits field |
|
|
|
|
t.character.portraits.Count > 0 && // Selected Character has at least 1 portrait |
|
|
|
|
t.chooseDialog.characterImage != null) // Selected Say Dialog has a character image |
|
|
|
|
t.chooseDialog != null && // Say Dialog is selected |
|
|
|
|
t.chooseDialog.characterImage != null) // Selected Say Dialog has a character image e |
|
|
|
|
{ |
|
|
|
|
showPortraits = true; |
|
|
|
|
} |
|
|
|
|