From 56c99c086fd14ee1b1131cb7df18c1b55ede5519 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Sun, 24 Nov 2024 12:51:55 +1100 Subject: scriptable chat --- source/game/StarUniverseClient.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/game/StarUniverseClient.cpp') diff --git a/source/game/StarUniverseClient.cpp b/source/game/StarUniverseClient.cpp index d739f5a..427cecb 100644 --- a/source/game/StarUniverseClient.cpp +++ b/source/game/StarUniverseClient.cpp @@ -519,6 +519,10 @@ void UniverseClient::stopLua() { m_scriptContexts.clear(); } +LuaRootPtr UniverseClient::luaRoot() { + return m_luaRoot; +} + bool UniverseClient::reloadPlayer(Json const& data, Uuid const&, bool resetInterfaces, bool showIndicator) { auto player = mainPlayer(); bool playerInWorld = player->inWorld(); -- cgit v1.2.3