summaryrefslogtreecommitdiffstats
path: root/src/Plugin.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/Plugin.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/Plugin.cpp')
-rw-r--r--src/Plugin.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Plugin.cpp b/src/Plugin.cpp
index f759d5f..64fc00b 100644
--- a/src/Plugin.cpp
+++ b/src/Plugin.cpp
@@ -174,7 +174,8 @@ void PluginSystem::Init() {
"GetGameStatus", &GameState::GetGameStatus,
"GetPlayerStatus", &GameState::GetPlayerStatus,
"GetSelectionStatus", &GameState::GetSelectionStatus,
- "GetInventory", &GameState::GetInventory);
+ "GetInventory", &GameState::GetInventory,
+ "PerformRespawn", &GameState::PerformRespawn);
lua.new_usertype<TimeStatus>("TimeStatus",
"interpolatedTimeOfDay", &TimeStatus::interpolatedTimeOfDay,