Any idea how I fix this? Previous versions worked fine
Wait a little bit, I'll already working on bugfix, today-tomorrow will be uploaded.
Spent a little while poking with developer tools... It's a fun little race condition... Sometimes you get the error 15 times in a row, sometimes you don't for 30 more. I guess that's what happens when trying to mix globals with async callbacks.
I found that the plugin is trying to reference images from
$gameScreen._pictures
, which often contains null entries (borked plugin, probably).
Anway, you can work around the problem by adding the following line to
TDDP_BindPicturesToMap.js
:
JavaScript:
Sprite_Picture.prototype.bltLoadedBitmap = function(sourceBitmap) {
var picture = this.picture();
if (!picture) return; // <--- this line
picture.setDimensions(sourceBitmap);
It's a quick fix which probably causes visual glitches but hey, at least it doesn't freeze.