Quick crafters update

Minor update on mineral/jewel crafters' code.
This commit is contained in:
ronancpl
2018-01-22 15:00:05 -02:00
parent f74dfbb46a
commit 2d932a9e12
12 changed files with 12 additions and 14 deletions

View File

@@ -129,7 +129,7 @@ function action(mode, type, selection) {
qty = 1;
}
else
qty = (selection > 0) ? selection : (-selection <= 0 ? 1 : -selection);
qty = (selection > 0) ? selection : (selection < 0 ? -selection : 1);
last_use = false;