Updates to support latest version of CyberarmEngine

This commit is contained in:
2022-09-20 17:17:57 -05:00
parent a8fc2dccde
commit 655b418d70
9 changed files with 41 additions and 41 deletions

View File

@@ -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