Добавлены все обновления от сообщества, вплоть до #148
This commit is contained in:
@@ -11,7 +11,7 @@ local logistic_request_gui = require("__QuickItemSearch__/scripts/gui/logistic-r
|
||||
local search_gui = {}
|
||||
|
||||
function search_gui.build(player, player_table)
|
||||
-- At some point it's possible for the player table to get out of sync... somehow.
|
||||
-- At some point it's possible for the player table to get out of sync... somehow.
|
||||
local orphaned_dimmer = player.gui.screen.qis_window_dimmer
|
||||
if orphaned_dimmer and orphaned_dimmer.valid then
|
||||
orphaned_dimmer.destroy()
|
||||
@@ -21,7 +21,7 @@ function search_gui.build(player, player_table)
|
||||
orphaned_window.destroy()
|
||||
end
|
||||
search_gui.destroy(player_table)
|
||||
|
||||
|
||||
local refs = gui.build(player.gui.screen, {
|
||||
{
|
||||
type = "frame",
|
||||
@@ -300,7 +300,7 @@ function search_gui.perform_search(player, player_table, updated_query, combined
|
||||
-- item counts
|
||||
if player.controller_type == defines.controllers.character and connected_to_network then
|
||||
children[i3 + 2].caption = (
|
||||
(row.inventory or 0)
|
||||
(row.inventory or 0)
|
||||
.. " / [color="
|
||||
.. constants.colors.logistic_str
|
||||
.. "]"
|
||||
|
||||
Reference in New Issue
Block a user