We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae83a8c commit cc2d226Copy full SHA for cc2d226
src/Spawner/Spawner.cpp
@@ -331,6 +331,15 @@ bool Spawner::StartScenario(const char* pScenarioName)
331
if (!pSession->CreateConnections())
332
return false;
333
334
+ // Ares does not support MultiEngineer switching in multiplayer, however
335
+ // we can disable it simply by setting EngineerCaptureLevel to 1 - Belonit
336
+
337
+ // https://ares-developers.github.io/Ares-docs/restored/multiengineer.html
338
+ // https://github.com/Phobos-developers/Antares/blob/7241a5ff20f4dbf7153cc77e16edca5c9db473d4/src/Ext/Infantry/Body.cpp#L44-L46
339
340
+ if (!pGameModeOptions->MultiEngineer)
341
+ RulesClass::Instance->EngineerCaptureLevel = 1.0;
342
343
if (Main::GetConfig()->AllowChat == false)
344
{
345
Game::ChatMask[0] = false;
0 commit comments