mirror of
https://github.com/TimeCrafters/timecrafters_configuration_tool_desktop.git
synced 2025-12-15 21:32:35 +00:00
Updates to support latest version of CyberarmEngine
This commit is contained in:
@@ -3,14 +3,14 @@ module TAC
|
||||
class TACNETStatusDialog < Dialog
|
||||
def build
|
||||
background Gosu::Color::GRAY
|
||||
@message_label = label $window.backend.tacnet.full_status
|
||||
@message_label = label CyberarmEngine::Window.instance.backend.tacnet.full_status
|
||||
|
||||
button "Close", width: 1.0, margin_top: THEME_DIALOG_BUTTON_PADDING do
|
||||
try_commit
|
||||
end
|
||||
|
||||
@timer = CyberarmEngine::Timer.new(1000.0) do
|
||||
@message_label.value = $window.backend.tacnet.full_status
|
||||
@message_label.value = CyberarmEngine::Window.instance.backend.tacnet.full_status
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user