mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
NetworkSystem: fix regression in eula schema
During port to new performant JSON utils system in commit a5e05d3996ae95876fcac09affeaa043a768e749, the typo was made causing EULA not to display during tests. Fix field name typo.
This commit is contained in:
parent
a3e021d637
commit
61856106f0
@ -395,7 +395,7 @@ bool CPylon::GetEULA(MSEulaData_t& outData, string& outMessage) const
|
||||
|
||||
// check if the EULA response fields are valid.
|
||||
if (!JSON_GetValue(data, "version", JSONFieldType_e::kSint32, version) ||
|
||||
!JSON_GetValue(data, "language", JSONFieldType_e::kString, language) ||
|
||||
!JSON_GetValue(data, "lang", JSONFieldType_e::kString, language) ||
|
||||
!JSON_GetValue(data, "contents", JSONFieldType_e::kString, contents))
|
||||
{
|
||||
outMessage = "schema is invalid";
|
||||
|
Loading…
x
Reference in New Issue
Block a user