Skip to content

Commit 5a42957

Browse files
committed
Update make.simba
1 parent 267dcb4 commit 5a42957

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

osrs/interfaces/chat/make.simba

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ begin
204204
begin
205205
quantityStr := OCR.Recognize(boxes[i], RSFonts.PLAIN_11, [Self.TEXT_COLOR, RSFonts.WHITE], 0);
206206

207-
Result[i].Quantity := ERSItemQuantity.Integer2Quantity(StrToInt(quantityStr));
207+
Result[i].Quantity := ERSItemQuantity.String2Quantity(quantityStr);
208208
Result[i].Button.Bounds := boxes[i];
209209
Result[i].Button.EnabledColors := [[RSFonts.WHITE, 0]];
210210

0 commit comments

Comments
 (0)