mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-10-20 07:23:58 +00:00
Add proper lua server stacktraces
This commit is contained in:
1 parent
9db3619cd8
commit
012ce08b91
2 files changed
+25
-20
No files matched your search
@@ -192,7 +192,9 @@ public:
|
||||
for (const auto& Event : mLuaEvents.at(EventName)) {
|
||||
for (const auto& Function : Event.second) {
|
||||
if (Event.first != IgnoreId) {
|
||||
Results.push_back(EnqueueFunctionCall(Event.first, Function, Arguments));
|
||||
auto Result = EnqueueFunctionCall(Event.first, Function, Arguments);
|
||||
Results.push_back(Result);
|
||||
AddResultToCheck(Result);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user