Skip to content

Commit 2d3dc69

Browse files
fix: Merge pull request #250 from clubxj/master
Update gear and fix mushtree interface bug
2 parents 0a7fcdd + 47cd575 commit 2d3dc69

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

optional/interfaces/mainscreen/mushtree.simba

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ var
7575
begin
7676
buttons := Self.GetButtons();
7777

78-
if buttons <> [] then
78+
if Length(buttons) >= Ord(location) then
7979
Result := buttons[location];
8080
end;
8181

0 commit comments

Comments
 (0)