Fix missing no graphics option for lan server
This commit is contained in:
parent
abd3a79526
commit
51f8884881
@ -1936,8 +1936,11 @@ int main(int argc, char *argv[] )
|
|||||||
}
|
}
|
||||||
else if (CommandLine::has("--lan-server", &s))
|
else if (CommandLine::has("--lan-server", &s))
|
||||||
{
|
{
|
||||||
ProfileWorld::disableGraphics();
|
if (no_graphics)
|
||||||
UserConfigParams::m_enable_sound = false;
|
{
|
||||||
|
ProfileWorld::disableGraphics();
|
||||||
|
UserConfigParams::m_enable_sound = false;
|
||||||
|
}
|
||||||
NetworkConfig::get()->setIsServer(true);
|
NetworkConfig::get()->setIsServer(true);
|
||||||
ServerConfig::m_server_name = s;
|
ServerConfig::m_server_name = s;
|
||||||
ServerConfig::m_wan_server = false;
|
ServerConfig::m_wan_server = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user