From e1f97be282346d241487ae847958c89281c95518 Mon Sep 17 00:00:00 2001 From: ShakeFlower Date: Wed, 19 Feb 2025 19:22:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:(small)=E5=BC=80=E5=B1=80=E9=A9=AC=E4=B8=8A?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E5=B7=A5=E5=85=B7=E6=A0=8F=E5=86=8D=E5=85=B3?= =?UTF-8?q?=E9=97=AD=E4=BC=9A=E6=8A=A5=E9=94=99=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/actions.js b/libs/actions.js index be76dea8..ded8d982 100644 --- a/libs/actions.js +++ b/libs/actions.js @@ -1537,7 +1537,7 @@ actions.prototype._clickToolbox = function (x, y) { if (x >= this.LAST - 2 && y == this.LAST) { core.playSound('取消'); core.ui.closePanel(); - var last = core.status.route[core.status.route.length - 1]; + var last = core.status.route[core.status.route.length - 1] || ''; if (last.startsWith('equip:') || last.startsWith('unEquip:')) { core.status.route.push('no'); }