Skip to content

Commit 9e8961a

Browse files
committed
fix wrong variable
1 parent 0888512 commit 9e8961a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lua/pac3/editor/client/panels/properties.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1067,7 +1067,7 @@ do -- list
10671067
local menu = DermaMenu()
10681068
menu:SetPos(input.GetCursorPos())
10691069
menu:MakePopup()
1070-
populate_bookmarks(menu, "models", pace.current_part)
1070+
populate_bookmarks(menu, "models", var)
10711071
end
10721072
elseif key == "Material" or key == "SpritePath" then
10731073
local btn2 = vgui.Create("DImageButton", pnl)
@@ -1079,7 +1079,7 @@ do -- list
10791079
local menu = DermaMenu()
10801080
menu:SetPos(input.GetCursorPos())
10811081
menu:MakePopup()
1082-
populate_bookmarks(menu, "materials", pace.current_part)
1082+
populate_bookmarks(menu, "materials", var)
10831083
end
10841084
elseif string.find(pace.current_part.ClassName, "sound") then
10851085
if key == "Sound" or key == "Path" then
@@ -1092,7 +1092,7 @@ do -- list
10921092
local menu = DermaMenu()
10931093
menu:SetPos(input.GetCursorPos())
10941094
menu:MakePopup()
1095-
populate_bookmarks(menu, "sound", pace.current_part)
1095+
populate_bookmarks(menu, "sound", var)
10961096
end
10971097
end
10981098
end

0 commit comments

Comments
 (0)