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 fa079bf5e4
commit dbedacebbf

View File

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