Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Date: ???
- Fixed AM/FM text in beacon GUI not being localizable, again. Resolves https://github.com/pyanodon/pybugreports/issues/1337
- Fixed Dutch locale translating two fluids to the same name. Resolves https://github.com/pyanodon/pybugreports/issues/1305
- Fixed beacons not being useable with YAFC and other planner mods. Resolves https://github.com/pyanodon/pybugreports/issues/1449
- Fixed codex search bar saving the search term when switching pages and closing the UI. Resolves https://github.com/pyanodon/pybugreports/issues/1409
---------------------------------------------------------------------------------------------------
Version: 3.0.44
Date: 2025-12-28
Expand Down
2 changes: 0 additions & 2 deletions scripts/wiki/wiki.lua
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ function Wiki.open_wiki(player)
py_wiki_search.style.right_margin = -5
py_wiki_search.style.width = 200
py_wiki_search.visible = false
py_wiki_search.text = storage.wiki_page_search_query[player.index] or ""
caption_flow.add {name = "py_wiki_search_button", type = "sprite-button", style = "frame_action_button_always_on", sprite = "utility/search_icon"}.visible = false
caption_flow.add {name = "py_close_wiki", type = "sprite-button", style = "frame_action_button", sprite = "utility/close", hovered_sprite = "utility/close_black", clicked_sprite = "utility/close_black"}

Expand Down Expand Up @@ -255,7 +254,6 @@ gui_events[defines.events.on_gui_text_changed]["py_wiki_search"] = function(even

local search_query = event.element.text
remote.call(searchable[1], searchable[2], search_query, contents, player)
storage.wiki_page_search_query[player.index] = search_query
end

remote.add_interface("pywiki", {
Expand Down
Loading