summaryrefslogtreecommitdiffstats
path: root/src/Render.cpp
diff options
context:
space:
mode:
authorLaG1924 <lag1924@gmail.com>2021-07-02 09:26:39 +0200
committerLaG1924 <lag1924@gmail.com>2021-07-03 10:36:56 +0200
commit48e564a32c266c8d4649c6f50bf4eac56f771c0d (patch)
tree34fbd849a2b0f1ded8ab8d87c1e4a300107b2e0e /src/Render.cpp
parentAdded Loading screen (diff)
downloadAltCraft-48e564a32c266c8d4649c6f50bf4eac56f771c0d.tar
AltCraft-48e564a32c266c8d4649c6f50bf4eac56f771c0d.tar.gz
AltCraft-48e564a32c266c8d4649c6f50bf4eac56f771c0d.tar.bz2
AltCraft-48e564a32c266c8d4649c6f50bf4eac56f771c0d.tar.lz
AltCraft-48e564a32c266c8d4649c6f50bf4eac56f771c0d.tar.xz
AltCraft-48e564a32c266c8d4649c6f50bf4eac56f771c0d.tar.zst
AltCraft-48e564a32c266c8d4649c6f50bf4eac56f771c0d.zip
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;
}
});