Skip to content

Commit 7ad6d9f

Browse files
committed
Compatibility with SRL-T
1 parent 1624e0c commit 7ad6d9f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

osr/basescript.simba

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ begin
655655
Continue;
656656
end;
657657

658-
position := Bank._GetMemory(item.Item);
658+
position := Bank._GetCachedPosition(item.Item);
659659
if position.Tab = -1 then Continue;
660660
if Bank.GetCurrentTab() <> position.Tab then Continue;
661661

osr/handlers/consumablehandler.simba

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ begin
9696
begin
9797
Self.DebugLn('Consumable found: ' + ToStr(item));
9898
consumable := Self.Setup(item);
99-
Bank._PutMemory(consumable.BankItem.Item, [Bank.GetCurrentTab(), Bank.GetScrollPosition()]);
99+
Bank._CachePosition(consumable.BankItem.Item, [Bank.GetCurrentTab(), Bank.GetScrollPosition()]);
100100
//TODO: Search parent maybe?
101101

102102
Result += consumable;

0 commit comments

Comments
 (0)