mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-03 14:26:09 +00:00
Lua: Call local eventhandlers synchronously when TriggerGlobalEvent is called from inside a handling state
This commit is contained in:
@@ -3,6 +3,9 @@
|
||||
#include "Common.h"
|
||||
#include "TLuaEngine.h"
|
||||
|
||||
#define SOL_ALL_SAFETIES_ON 1
|
||||
#include <sol/sol.hpp>
|
||||
|
||||
static std::string LuaToString(const sol::object Value, size_t Indent = 1) {
|
||||
switch (Value.get_type()) {
|
||||
case sol::type::userdata: {
|
||||
|
||||
Reference in New Issue
Block a user