Coupon buff fix + concurrency fixes
Fixed coupon buff icon not showing properly. Fixed some cases involving coupons and buff removal not dealing properly with concurrent access.
This commit is contained in:
@@ -62,8 +62,11 @@ function action(mode, type, selection) {
|
||||
cm.dispose();
|
||||
}
|
||||
} else if (status == 3) {
|
||||
if (cm.haveItem(4031801))
|
||||
if (cm.haveItem(4031801)) {
|
||||
cm.gainItem(4031801, -1);
|
||||
} else {
|
||||
cm.gainMeso(-150);
|
||||
}
|
||||
cm.warp(104000000);
|
||||
cm.dispose();
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ function start() {
|
||||
|
||||
function action(mode, type, selection) {
|
||||
if(mode == 1) {
|
||||
cm.warp(990001100);
|
||||
cm.warp(101030104);
|
||||
}
|
||||
cm.dispose();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user