mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-03 16:55:24 +01:00
fixed port setting not being loaded from configuration file for client
This commit is contained in:
@@ -1704,7 +1704,7 @@ int main(int argc, char *argv[])
|
||||
u16 port = 30000;
|
||||
if(cmd_args.exists("port"))
|
||||
port = cmd_args.getU16("port");
|
||||
else if(cmd_args.exists("port"))
|
||||
else if(g_settings.exists("port"))
|
||||
port = g_settings.getU16("port");
|
||||
|
||||
// Map directory
|
||||
|
||||
Reference in New Issue
Block a user