Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 70ec643

Browse files
committed
Fix type on getwpt()
1 parent 678e272 commit 70ec643

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/General.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ function getwpt(id)
688688
local iid = 0
689689

690690
foreach settingsentry s 'Cavebot/Waypoints' do
691-
if get(s, 'Label') == id or iid = id then
691+
if get(s, 'Label') == id or iid == id then
692692
return s
693693
end
694694
end

0 commit comments

Comments
 (0)