Skip to content

Commit

Permalink
Update basescript.simba
Browse files Browse the repository at this point in the history
  • Loading branch information
Torwent committed Sep 26, 2024
1 parent d13efa1 commit 9bc92fb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions osr/basescript.simba
Original file line number Diff line number Diff line change
Expand Up @@ -668,14 +668,13 @@ begin
for attempt := 1 to attempts do
begin
stack := Inventory.CountItemStack(invItem);
if Inventory.IsFull() and (stack < 1) then //item not stackable.
Exit;
if Inventory.IsFull() and (stack < 1) then Exit; //item not stackable.

count := Inventory.CountItem(invItem);

if Bank.FindItem(item, b) then
begin
if Max(1,Bank.CountItemStack(item.Item)) < item.Quantity then
if Max(1, Bank.CountItemStack(item.Item)) < Min(item.Quantity, 28) then
begin
Self.BankEmpty := Bank.IsOpen();
if Self.BankEmpty then
Expand Down

0 comments on commit 9bc92fb

Please sign in to comment.