Skip to content

Commit 0332e73

Browse files
author
liply
authored
Merge pull request #52 from rpgtkoolmv/check-null-list
null check for list.
2 parents d57f1ce + b212a58 commit 0332e73

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

js/rpg_objects/Game_Interpreter.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1741,6 +1741,8 @@ Game_Interpreter.prototype.pluginCommand = function(command, args) {
17411741
};
17421742

17431743
Game_Interpreter.requestImages = function(list){
1744+
if(!list) return;
1745+
17441746
list.forEach(function(command){
17451747
var params = command.parameters;
17461748
switch(command.code){

0 commit comments

Comments
 (0)