mirror of
https://github.com/Xevion/project-cybersyn.git
synced 2025-12-13 18:12:40 -06:00
fixed a gui bug
This commit is contained in:
@@ -3,6 +3,7 @@ Version: 1.1.1
|
|||||||
Date: 2022-12-8
|
Date: 2022-12-8
|
||||||
Changes:
|
Changes:
|
||||||
- Fixed a crash when building a fuel loader
|
- Fixed a crash when building a fuel loader
|
||||||
|
- Fixed a gui bug
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 1.1.0
|
Version: 1.1.0
|
||||||
Date: 2022-12-8
|
Date: 2022-12-8
|
||||||
|
|||||||
@@ -89,8 +89,8 @@ function gui_opened(comb, player)
|
|||||||
window.preview.entity = comb
|
window.preview.entity = comb
|
||||||
window.titlebar.drag_target = window.main_window
|
window.titlebar.drag_target = window.main_window
|
||||||
window.main_window.force_auto_center()
|
window.main_window.force_auto_center()
|
||||||
local uses_network = selected_index == 1 or selected_index == 3 or selected_index == 4
|
local uses_network = selected_index == 1 or selected_index == 2 or selected_index == 3
|
||||||
local uses_allow_list = selected_index == 1 or selected_index == 4
|
local uses_allow_list = selected_index == 1 or selected_index == 3
|
||||||
window.network.visible = uses_network
|
window.network.visible = uses_network
|
||||||
window.network_label.visible = uses_network
|
window.network_label.visible = uses_network
|
||||||
window.radio_button.visible = uses_allow_list
|
window.radio_button.visible = uses_allow_list
|
||||||
|
|||||||
Reference in New Issue
Block a user