Skip to content

Commit

Permalink
fix(TBaseBankScript): .HoverBank() now uses both TRSMap and TRSWalker…
Browse files Browse the repository at this point in the history
… depending whichever is loaded
  • Loading branch information
Torwent committed Jun 6, 2024
1 parent db0a8e0 commit 4772975
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions osr/basescript.simba
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,12 @@ BankScript.HoverBank();
*)
function TBaseBankScript.HoverBank(): Boolean;
begin
if ScriptWalker = nil then
begin
Self.HoveringBank := Bank.HoverV2();
Exit(Self.HoveringBank);
end;

Result := Self.HoveringBank := Bank.Hover();
end;

Expand Down

0 comments on commit 4772975

Please sign in to comment.