diff --git a/lua/cfc_disconnect_interface/client/cl_interface.lua b/lua/cfc_disconnect_interface/client/cl_interface.lua index d68718d..ecd2475 100644 --- a/lua/cfc_disconnect_interface/client/cl_interface.lua +++ b/lua/cfc_disconnect_interface/client/cl_interface.lua @@ -460,6 +460,9 @@ end local isShuttingDownManually = false hook.Add( "ShutDown", "CFC_DisconnectInterface_MarkShutdown", function() isShuttingDownManually = true + if interfaceDerma then + interfaceDerma:Close() + end end ) hook.Add( "CFC_CrashTick", "CFC_DisconnectInterface_InterfaceUpdate", function( isCrashing, _timeDown, _apiState )