diff --git a/lua/cfc_disconnect_interface/client/cl_interface.lua b/lua/cfc_disconnect_interface/client/cl_interface.lua index 777c141..84a42c2 100644 --- a/lua/cfc_disconnect_interface/client/cl_interface.lua +++ b/lua/cfc_disconnect_interface/client/cl_interface.lua @@ -463,7 +463,7 @@ hook.Add( "CFC_CrashTick", "CFC_DisconnectInterface_InterfaceUpdate", function( apiState = _apiState end local shouldShowInterface = hook.Run("CFC_DisconnectInterface_ShouldShowInterface") - if shouldShowInterface ~= false and isCrashing and then + if shouldShowInterface ~= false and isCrashing then -- Open interface if server is crashing, API has responded, interface isn't already open, and interface has not yet been opened if _apiState == CFCCrashAPI.PINGING_API or _apiState == CFCCrashAPI.SERVER_UP then return end if interfaceDerma or previouslyShown then return end