Lua: Remove debug prints, add GetLuaMemoryUsage

This commit is contained in:
Lion Kortlepel
2021-09-19 23:51:22 +02:00
parent 366a7dc9a6
commit 4de80e0c7a
3 changed files with 12 additions and 15 deletions

View File

@@ -82,7 +82,6 @@ public:
std::vector<std::shared_ptr<TLuaResult>> Results;
for (const auto& Event : mEvents.at(EventName)) {
for (const auto& Function : Event.second) {
beammp_debug("TriggerEvent: triggering \"" + Function + "\" on \"" + Event.first + "\"");
if (Event.first != IgnoreId) {
Results.push_back(EnqueueFunctionCall(Event.first, Function, { TLuaArgTypes { std::forward<ArgsT>(Args) }... }));
}