mask encyclopedia

This commit is contained in:
bacon
2023-09-03 00:13:22 +03:00
parent 58374c979c
commit 7c23013cfb
3 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
Encyclopedia._fillTree = Encyclopedia.fillTree
function Encyclopedia.fillTree()
include("chapters/wpeturrets")
Encyclopedia._fillTree()
local searchText = string.trim(self.searchTextBox.text)
if searchText == "" then
Encyclopedia.fillTreeCompletely()
else
Encyclopedia.fillTreeFiltered(searchText)
end
end