Skip to content

Commit 4c0e8e6

Browse files
committed
Fix search being case sensitive
1 parent 640c939 commit 4c0e8e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

[editor]/editor_gui/client/load.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function openSearch()
7676
end
7777
else
7878
for i,res in ipairs(openResources) do
79-
if string.find(res["friendlyName"],text) then
79+
if string.find(res["friendlyName"],string.lower(text)) then
8080
local row = guiGridListAddRow ( loadDialog.mapsList )
8181
guiGridListSetItemText ( loadDialog.mapsList, row, 1, res["friendlyName"], false, false )
8282
guiGridListSetItemText ( loadDialog.mapsList, row, 2, res["gamemodes"], false, false )

0 commit comments

Comments
 (0)