Skip to content

Commit eb61611

Browse files
committed
Fixing bug
Last save time wasn't being set in AccountsManager
1 parent c6d0a45 commit eb61611

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Assets/Scripts/Accounts/BackendComms/UnisaveAccountsManager.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
public class UnisaveAccountsManager : AccountsManager
1212
{
1313
#if UNITY_WEBGL && !UNITY_EDITOR
14-
private const float UPDATE_RATE = 15f;
14+
private const float UPDATE_RATE = 60f;
1515
#else
1616
private const float UPDATE_RATE = 120f;
1717
#endif
@@ -140,6 +140,7 @@ public void SavePlayer()
140140
{
141141
Dirty = false;
142142
_savePanel.SetActive(false);
143+
_lastSave = Time.realtimeSinceStartup;
143144

144145
if (_player == null)
145146
return;

0 commit comments

Comments
 (0)