diff --git a/.github/workflows/glualint.yml b/.github/workflows/glualint.yml new file mode 100644 index 0000000..4c0929d --- /dev/null +++ b/.github/workflows/glualint.yml @@ -0,0 +1,10 @@ +name: GLuaFixer + +on: + pull_request: + +jobs: + Lint: + uses: FPtje/GLuaFixer/.github/workflows/glualint.yml@master + with: + config: "https://cfc.gg/configs/gluafixer/glualint.json" diff --git a/lua/cfc_disconnect_interface/client/cl_interface.lua b/lua/cfc_disconnect_interface/client/cl_interface.lua index 11a7458..43b2cca 100644 --- a/lua/cfc_disconnect_interface/client/cl_interface.lua +++ b/lua/cfc_disconnect_interface/client/cl_interface.lua @@ -525,7 +525,7 @@ hook.Add( "CFC_CrashTick", "CFC_DisconnectInterface_InterfaceUpdate", function( if _apiState ~= CFCCrashAPI.PINGING_API then apiState = _apiState end - local shouldShowInterface = hook.Run("CFC_DisconnectInterface_ShouldShowInterface") + local shouldShowInterface = hook.Run( "CFC_DisconnectInterface_ShouldShowInterface" ) 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