16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 22:59:19 +02:00
This commit is contained in:
milek7
2018-12-20 20:47:19 +01:00
parent 35af6d48d6
commit 21fff27903
8 changed files with 59 additions and 6 deletions

View File

@@ -768,6 +768,16 @@ global_settings::ConfigParse(cParser &Parser) {
Parser.getTokens(1);
Parser >> python_mipmaps;
}
else if (token == "network.enabled")
{
Parser.getTokens(1);
Parser >> network_conf.enabled;
}
else if (token == "network.server")
{
Parser.getTokens(1);
Parser >> network_conf.is_server;
}
} while ((token != "") && (token != "endconfig")); //(!Parser->EndOfFile)
// na koniec trochę zależności
if (!bLoadTraction) // wczytywanie drutów i słupów