summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openttd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openttd.c b/openttd.c
index 6dadc1d62..f99882e65 100644
--- a/openttd.c
+++ b/openttd.c
@@ -349,7 +349,7 @@ int ttd_main(int argc, char* argv[])
case 'f': _dedicated_forks = true; break;
case 'n':
network = true;
- network_conn = mgo_opt; // optional IP parameter, NULL if unset
+ network_conn = mgo.opt; // optional IP parameter, NULL if unset
break;
case 'b': _ai.network_client = true; break;
case 'r': ParseResolution(resolution, mgo.opt); break;