Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarUniverseClient.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2025-01-24 15:46:02 +1100
committerGitHub <noreply@github.com>2025-01-24 15:46:02 +1100
commit93b78ec8e80b404346ee3b4781f98a4d9342863f (patch)
treeff209c6151b0aa384176aa4289985b5dce6bf0ce /source/game/StarUniverseClient.cpp
parent099773621bc5eb6500829bcc5adf38ada3450f74 (diff)
parent77e3b5017570bdbe742f7843e800ee941784e3da (diff)
Merge pull request #166 from ErodeesFleurs/team
Lua Bindings for TeamClient
Diffstat (limited to 'source/game/StarUniverseClient.cpp')
-rw-r--r--source/game/StarUniverseClient.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/game/StarUniverseClient.cpp b/source/game/StarUniverseClient.cpp
index 70a227e..75d1dbf 100644
--- a/source/game/StarUniverseClient.cpp
+++ b/source/game/StarUniverseClient.cpp
@@ -24,6 +24,7 @@
#include "StarPlayerUniverseMap.hpp"
#include "StarWorldTemplate.hpp"
#include "StarCelestialLuaBindings.hpp"
+#include "StarTeamClientLuaBindings.hpp"
namespace Star {
@@ -499,6 +500,7 @@ void UniverseClient::setLuaCallbacks(String const& groupName, LuaCallbacks const
void UniverseClient::startLua() {
m_luaRoot->restart();
setLuaCallbacks("celestial", LuaBindings::makeCelestialCallbacks(this));
+ setLuaCallbacks("team", LuaBindings::makeTeamClientCallbacks(m_teamClient.get()));
setLuaCallbacks("world", LuaBindings::makeWorldCallbacks(m_worldClient.get()));
auto assets = Root::singleton().assets();