Merge pull request #286 from v3921358/v3921358-npc-9120003-getmeso-check #patch

Fix incorrect method usage in NPC script (9120003.js)
This commit is contained in:
Ponk
2025-03-22 12:01:51 +01:00
committed by GitHub

View File

@@ -46,7 +46,7 @@ function action(mode, type, selection) {
cm.dispose(); cm.dispose();
return; return;
} }
if (cm.getMeso < price) { if (cm.getMeso() < price) {
cm.sendOk("Please check and see if you have " + price + " mesos to enter this place."); cm.sendOk("Please check and see if you have " + price + " mesos to enter this place.");
} else { } else {
cm.gainMeso(-price); cm.gainMeso(-price);