summaryrefslogtreecommitdiffstats
path: root/src/Render.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Render.cpp')
-rw-r--r--src/Render.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Render.cpp b/src/Render.cpp
index bee8ffb..6aecd88 100644
--- a/src/Render.cpp
+++ b/src/Render.cpp
@@ -498,6 +498,10 @@ void Render::InitEvents() {
PluginSystem::CallOnChangeState("Chat");
SetMouseCapture(false);
break;
+ case State::NeedRespawn:
+ PluginSystem::CallOnChangeState("NeedRespawn");
+ SetMouseCapture(false);
+ break;
}
});