Don't check for accepted EULA versions if this is a dedicated server

This commit is contained in:
Kawe Mazidjatari 2023-10-21 19:16:52 +02:00
parent ec825962b6
commit 2fe902061e

View File

@ -433,7 +433,7 @@ bool CPylon::SendRequest(const char* endpoint, const rapidjson::Document& reques
rapidjson::Document& responseJson, string& outMessage, CURLINFO& status,
const char* errorText, const bool checkEula) const
{
if (checkEula && !IsEULAUpToDate())
if (!IsDedicated() && !IsEULAUpToDate() && checkEula)
{
outMessage = "EULA not accepted";
return false;