mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-05-12 21:08:43 +09:00
.
This commit is contained in:
@@ -83,9 +83,11 @@ function main.gui_update(player, entity)
|
|||||||
|
|
||||||
local dropdown = player.gui.relative.phi_cl_combinator_config['default']['table_research_queue']['research_queue_dropdown']
|
local dropdown = player.gui.relative.phi_cl_combinator_config['default']['table_research_queue']['research_queue_dropdown']
|
||||||
|
|
||||||
if dropdown then
|
if not dropdown then
|
||||||
dropdown.selected_index = ((val < 0 or val > 3) and 1) or (val + 1)
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
dropdown.selected_index = ((val < 0 or val > 3) and 1) or (val + 1)
|
||||||
end
|
end
|
||||||
|
|
||||||
function main.handle_research_queue(entity, combinator)
|
function main.handle_research_queue(entity, combinator)
|
||||||
|
|||||||
Reference in New Issue
Block a user