about summary refs log tree commit diff
path: root/src/game/client/gameclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/client/gameclient.cpp')
-rw-r--r--src/game/client/gameclient.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp
index b67e5628..1c0633b9 100644
--- a/src/game/client/gameclient.cpp
+++ b/src/game/client/gameclient.cpp
@@ -471,6 +471,13 @@ void CGameClient::OnRender()
 	}
 }
 
+void CGameClient::OnRelease()
+{
+	// release all systems
+	for(int i = 0; i < m_All.m_Num; i++)
+		m_All.m_paComponents[i]->OnRelease();
+}
+
 void CGameClient::OnMessage(int MsgId, CUnpacker *pUnpacker)
 {