From afb04b0d80f6b78068bbd15661776cdd603c6d0e Mon Sep 17 00:00:00 2001 From: v3921358 Date: Thu, 12 Dec 2024 19:55:48 +0800 Subject: [PATCH] Fix incorrect method usage in NPC script (9120003.js) Corrected the condition in NPC script 9120003.js by replacing cm.getMeso < price with cm.getMeso() < price to properly compare mesos against the price. --- scripts/npc/9120003.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/npc/9120003.js b/scripts/npc/9120003.js index 6fd5ca6d30..d6894ba59a 100644 --- a/scripts/npc/9120003.js +++ b/scripts/npc/9120003.js @@ -46,7 +46,7 @@ function action(mode, type, selection) { cm.dispose(); return; } - if (cm.getMeso < price) { + if (cm.getMeso() < price) { cm.sendOk("Please check and see if you have " + price + " mesos to enter this place."); } else { cm.gainMeso(-price);