From 81e36d1b02dc0a175dcb8925e523ec771e16aef5 Mon Sep 17 00:00:00 2001 From: dazedanon Date: Thu, 18 Dec 2025 10:56:21 -0600 Subject: [PATCH] Crash fix --- js/plugins/IconDescription.js | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/js/plugins/IconDescription.js b/js/plugins/IconDescription.js index 0e976cc..50eaeec 100644 --- a/js/plugins/IconDescription.js +++ b/js/plugins/IconDescription.js @@ -137,6 +137,9 @@ const param = PluginManagerEx.createParameter(script); function findIconCaptionParam(iconIndex) { + if (!param.list || !Array.isArray(param.list)) { + return null; + } return param.list.find(desc => desc.iconIndex === iconIndex); } diff --git a/package.json b/package.json index 6961b9a..1db396e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "rmmz-game", "main": "index.html", - "chromium-args": "--force-color-profile=srgb --disable-devtools", + "chromium-args": "--force-color-profile=srgb", "window": { "title": "Unholy maiden Ver.1.0.4", "width": 1280,