mirror of
https://gitgud.io/BondageProjects/Bondage-College.git
synced 2025-04-25 17:59:34 +00:00
FIX - Make sure OnlineSharedSettings.GameVersion is updated
This commit is contained in:
parent
e9b41c0cb8
commit
4a7e328da6
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue