mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-07-24 07:30:42 +00:00
use a beammp_lua_errorf instead of a std::terminate on sol2 assertion failure
This commit is contained in:
+1
-1
@@ -91,7 +91,7 @@ int BeamMPServerMain(MainArguments Arguments) {
|
||||
Application::Console().WriteRaw(fmt::format("BeamMP Server v{} ({})", Application::ServerVersionString(), BEAMMP_GIT_HASH));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
std::string ConfigPath = "ServerConfig.toml";
|
||||
if (Parser.FoundArgument({ "config" })) {
|
||||
auto MaybeConfigPath = Parser.GetValueOfArgument({ "config" });
|
||||
|
||||
Reference in New Issue
Block a user