mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Server configuration is now written when "/#setting whatever = whatever" is issued.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user