mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
parent
b42b03bc40
commit
6c4a110679
8 changed files with 44 additions and 0 deletions
|
@ -317,6 +317,10 @@ Server::Server(
|
|||
"Number of map edit events");
|
||||
|
||||
m_lag_gauge->set(g_settings->getFloat("dedicated_server_step"));
|
||||
|
||||
m_path_mod_data = porting::path_user + DIR_DELIM "mod_data";
|
||||
if (!fs::CreateDir(m_path_mod_data))
|
||||
throw ServerError("Failed to create mod data dir");
|
||||
}
|
||||
|
||||
Server::~Server()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue