mirror of https://github.com/OpenTTD/OpenTTD
Merge 4b5b40a092
into 77c188e6da
commit
9207e4f8c7
|
@ -936,9 +936,6 @@ bool NetworkServerStart()
|
||||||
/* if the server is dedicated ... add some other script */
|
/* if the server is dedicated ... add some other script */
|
||||||
if (_network_dedicated) IConsoleCmdExec("exec scripts/on_dedicated.scr 0");
|
if (_network_dedicated) IConsoleCmdExec("exec scripts/on_dedicated.scr 0");
|
||||||
|
|
||||||
/* welcome possibly still connected admins - this can only happen on a dedicated server. */
|
|
||||||
if (_network_dedicated) ServerNetworkAdminSocketHandler::WelcomeAll();
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -969,6 +966,9 @@ void NetworkOnGameStart()
|
||||||
}
|
}
|
||||||
|
|
||||||
ShowClientList();
|
ShowClientList();
|
||||||
|
} else {
|
||||||
|
/* welcome possibly still connected admins - this can only happen on a dedicated server. */
|
||||||
|
ServerNetworkAdminSocketHandler::WelcomeAll();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue