mirror of
https://github.com/SantaSpeen/BeamMP-Server.git
synced 2026-04-03 20:26:01 +00:00
Nice fix.
This commit is contained in:
@@ -43,7 +43,7 @@ void TLuaEngine::operator()() {
|
||||
auto Futures = TriggerEvent("onInit");
|
||||
WaitForAll(Futures);
|
||||
for (const auto& Future : Futures) {
|
||||
if (Future->Error) {
|
||||
if (Future->Error && Future->ErrorMessage != BeamMPFnNotFoundError) {
|
||||
beammp_lua_error("Calling \"onInit\" on \"" + Future->StateId + "\" failed: " + Future->ErrorMessage);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user