Skip to content

Commit f0b2aca

Browse files
authored
Merge pull request #64 from rpgtkoolmv/fix_decrypter
fix can't play when images encrypted
2 parents fa0b149 + b3cd099 commit f0b2aca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/rpg_core/Bitmap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ Bitmap.prototype._requestImage = function(url){
855855

856856
if(!Decrypter.checkImgIgnore(url) && Decrypter.hasEncryptedImages) {
857857
this._loadingState = 'decrypting';
858-
Decrypter.decryptImg(url, bitmap);
858+
Decrypter.decryptImg(url, this);
859859
} else {
860860
this._image.src = url;
861861
this._image.onload = Bitmap.prototype._onLoad.bind(this);

0 commit comments

Comments
 (0)