fix syntax error
This commit is contained in:
parent
acba3c6ed4
commit
31c6e53589
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user