Okay so this is a multi-level in bug. In flash, combat didn't officially end until after the post-combat scenes called genericVictory() or loss as appropriate, so the combat name and bust would stay displayed. Because of this, many post-combat scenes lacked calls to display a character name & bust (they just stayed up!)
In Javascript, the combat UI goes away to swap back over to the normal display UI - and the combat busts disappear with it. This scene didn't have a call to display anything special, so it's imploding trying to customize a bust with no data.
I reproduced it on my local branch that spits out some more robust info:
Code:
A critical error has occurred. Please create a bug report on the forums here.
Please include what you did before the error and a screen-shot or copy-paste of the error message below:
Message:
imgName.toLowerCase is not a function
Stack:
TypeError: imgName.toLowerCase is not a function
at resolveImage (webpack-internal:///./src/engine/util.js:102:1347)
at Gallery.loadBust (webpack-internal:///./src/ui/Gallery.jsx:27:11846)
at Gallery.componentDidMount (webpack-internal:///./src/ui/Gallery.jsx:20:4124)
at commitLifeCycles (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:19814:22)
at commitLayoutEffects (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:22803:7)
at HTMLUnknownElement.callCallback (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:188:14)
at Object.invokeGuardedCallbackDev (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:237:16)
at invokeGuardedCallback (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:292:31)
at commitRootImpl (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:22541:9)
at unstable_runWithPriority (webpack-internal:///./node_modules/scheduler/cjs/scheduler.development.js:653:12)