Fixed a reoccurring indexing error

This commit is contained in:
Yessiest 2021-11-18 19:09:39 +04:00
parent 626294e0d8
commit 0a185ad44b
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ local function loader(options)
tree_path[tree_layer] = new_popup
--Apparently it's a thing that needed fixing.
--I don't question it, and neither should you.
if geo.x and geo.y then
if geo and geo.x and geo.y then
new_popup:move_next_to(geo)
end
--previous method call aligns the popup to the button,