mirror of
https://github.com/SantaSpeen/BeamMP-Server.git
synced 2026-04-03 15:06:00 +00:00
fix more stuff
This commit is contained in:
committed by
Anonymous275
parent
d360403c56
commit
aec6ad9c14
@@ -9,14 +9,15 @@ TLuaEngine::TLuaEngine(TServer& Server, TTCPServer& TCPServer, TUDPServer& UDPSe
|
||||
: mTCPServer(TCPServer)
|
||||
, mUDPServer(UDPServer)
|
||||
, mServer(Server) {
|
||||
if (!fs::exists(Application::Settings.ResourceFolder)) {
|
||||
fs::create_directory(Application::Settings.ResourceFolder);
|
||||
if (!fs::exists(Application::Settings.Resource)) {
|
||||
fs::create_directory(Application::Settings.Resource);
|
||||
}
|
||||
std::string Path = Application::Settings.ResourceFolder + ("/Server");
|
||||
std::string Path = Application::Settings.Resource + ("/Server");
|
||||
if (!fs::exists(Path)) {
|
||||
fs::create_directory(Path);
|
||||
}
|
||||
FolderList(Path, false);
|
||||
Start();
|
||||
}
|
||||
|
||||
void TLuaEngine::operator()() {
|
||||
|
||||
Reference in New Issue
Block a user