about summary refs log tree commit diff
path: root/src/game/client/components/particles.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/client/components/particles.cpp')
-rw-r--r--src/game/client/components/particles.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/client/components/particles.cpp b/src/game/client/components/particles.cpp
index ba6b13c7..25c9dd36 100644
--- a/src/game/client/components/particles.cpp
+++ b/src/game/client/components/particles.cpp
@@ -129,6 +129,9 @@ void CParticles::Update(float TimePassed)
 
 void CParticles::OnRender()
 {
+	if(Client()->State() < IClient::STATE_ONLINE)
+		return;
+
 	static int64 LastTime = 0;
 	int64 t = time_get();