Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/Spawner/Spawner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,15 @@ bool Spawner::StartScenario(const char* pScenarioName)
if (!pSession->CreateConnections())
return false;

// Ares does not support MultiEngineer switching in multiplayer, however
// we can disable it simply by setting EngineerCaptureLevel to 1 - Belonit

// https://ares-developers.github.io/Ares-docs/restored/multiengineer.html
// https://github.com/Phobos-developers/Antares/blob/7241a5ff20f4dbf7153cc77e16edca5c9db473d4/src/Ext/Infantry/Body.cpp#L44-L46

if (!pGameModeOptions->MultiEngineer)
RulesClass::Instance->EngineerCaptureLevel = 1.0;

if (Main::GetConfig()->AllowChat == false)
{
Game::ChatMask[0] = false;
Expand Down