1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Server configuration is now written when "/#setting whatever = whatever" is issued.

This commit is contained in:
Perttu Ahola 2011-07-30 19:49:42 +03:00
parent 9b294ffa7a
commit cdadbdbd17
7 changed files with 36 additions and 14 deletions

View file

@ -1302,7 +1302,7 @@ int main(int argc, char *argv[])
g_timegetter = new SimpleTimeGetter();
// Create server
Server server(map_dir.c_str());
Server server(map_dir.c_str(), configpath);
server.start(port);
// Run server
@ -1641,7 +1641,8 @@ int main(int argc, char *argv[])
password,
address,
port,
error_message
error_message,
configpath
);
} //try