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:
parent
9b294ffa7a
commit
cdadbdbd17
7 changed files with 36 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue