Pass -dev from the launcher

Must be passed from the launcher, as this is removed from the configuration files for prod. Ticking the development box will pass '-dev' and '-devsdk'.
This commit is contained in:
Kawe Mazidjatari 2022-09-22 22:25:32 +02:00
parent 5ce4af6ec6
commit 524962ac44

View File

@ -739,6 +739,7 @@ eLaunchMode CUIBaseSurface::BuildParameter(string& svParameters)
}
if (this->m_DevelopmentToggle->Checked())
{
svParameters.append("-dev\n");
svParameters.append("-devsdk\n");
results = eLaunchMode::LM_HOST_DEV;
}
@ -864,6 +865,7 @@ eLaunchMode CUIBaseSurface::BuildParameter(string& svParameters)
}
if (this->m_DevelopmentToggle->Checked())
{
svParameters.append("-dev\n");
svParameters.append("-devsdk\n");
results = eLaunchMode::LM_SERVER_DEV;
}
@ -950,6 +952,7 @@ eLaunchMode CUIBaseSurface::BuildParameter(string& svParameters)
// GAME ###############################################################
if (this->m_DevelopmentToggle->Checked())
{
svParameters.append("-dev\n");
svParameters.append("-devsdk\n");
results = eLaunchMode::LM_CLIENT_DEV;
}