From 67678ee3e7b98f209b58aa770d1cfd54a3c117bc Mon Sep 17 00:00:00 2001 From: Cleverson Date: Mon, 28 Oct 2024 22:43:55 -0300 Subject: [PATCH] Added ServerDeactivate event Added ServerDeactivate event --- LogApi/LogApi.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/LogApi/LogApi.cpp b/LogApi/LogApi.cpp index 753e271..4c4d602 100644 --- a/LogApi/LogApi.cpp +++ b/LogApi/LogApi.cpp @@ -78,6 +78,13 @@ void CLogApi::ServerActivate() } } +// On server deactivate +void CLogApi::ServerDeactivate() +{ + // Plugin is not running + this->m_Running = false; +} + // On server frame void CLogApi::ServerFrame() {