diff --git a/lua/cfc_disconnect_interface/client/cl_interface.lua b/lua/cfc_disconnect_interface/client/cl_interface.lua index 610812f..950ab5a 100644 --- a/lua/cfc_disconnect_interface/client/cl_interface.lua +++ b/lua/cfc_disconnect_interface/client/cl_interface.lua @@ -267,7 +267,7 @@ local function addButtonsBar( frame ) barPanel.disconBtn = makeButton( barPanel, "DISCONNECT", 0.75, function( self ) if not barPanel.disconMode then - showMessage( getDisconnectMessage() ) + showMessage( disconnectMessages[apiState] ) barPanel.disconMode = true barPanel.disconPrevDisabled = barPanel.reconBtn:GetDisabled() barPanel.reconBtn:SetDisabled( false )