FIX - Make sure OnlineSharedSettings.GameVersion is updated

This commit is contained in:
BondageProjects 2025-03-19 21:13:21 -04:00
parent e9b41c0cb8
commit 4a7e328da6

View file

@ -512,6 +512,9 @@ function PreferenceInitPlayer(C, data) {
if (JSON.stringify(C[prop]) !== stringPrefBefore)
toUpdate[/** @type {string} */(prop)] = data[prop];
if (CommonVersionUpdated && (toUpdate != null) && (toUpdate.OnlineSharedSettings != null))
toUpdate.OnlineSharedSettings.GameVersion = GameVersion;
if (Object.keys(toUpdate).length > 0)
ServerAccountUpdate.QueueData(toUpdate);