Using new GetBool value when checking if we're an editor-server. Clean up MPEditorSystemComponent for unused #includes, and null-checking when piping server logs
Signed-off-by: Gene Walters <genewalt@amazon.com>
This commit is contained in:
@@ -741,9 +741,8 @@ bool CSystem::Init(const SSystemInitParams& startupParams)
|
||||
bool suppressSystemOutput = true;
|
||||
if (const ICmdLineArg* isEditorServerArg = m_pCmdLine->FindArg(eCLAT_Pre, "editorsv_isDedicated"))
|
||||
{
|
||||
AZ::CVarFixedString lowercaseValue(isEditorServerArg->GetValue());
|
||||
AZStd::to_lower(lowercaseValue.begin(), lowercaseValue.end());
|
||||
if (lowercaseValue == "true")
|
||||
bool editorsv_isDedicated = false;
|
||||
if (isEditorServerArg->GetBoolValue(editorsv_isDedicated) && editorsv_isDedicated)
|
||||
{
|
||||
suppressSystemOutput = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user