diff --git a/src/character portraits.js b/src/character portraits.js index 36481a35..0d62cc2d 100644 --- a/src/character portraits.js +++ b/src/character portraits.js @@ -3,7 +3,7 @@ @file character portraits @summary high quality anime jpegs (or pngs i guess) @license MIT -@version 2.1.0 +@version 2.1.1 @requires Bitsy Version: 5.3 @author Sean S. LeBlanc @@ -81,6 +81,7 @@ addDialogTag('portrait', function (environment, parameters, onReturn) { var newPortrait = parameters[0]; var image = state.portraits[newPortrait]; if (state.portrait === image) { + onReturn(null); return; } state.portrait = image;