Hack change gpose sync timer to 2 seconds

This commit is contained in:
Loporrit
2025-07-03 08:34:18 +00:00
parent 8843add155
commit 8b71320912
2 changed files with 3 additions and 3 deletions

View File

@@ -363,7 +363,7 @@ public class CharaDataGposeTogetherManager : DisposableMediatorSubscriberBase
while (!ct.IsCancellationRequested)
{
await Task.Delay(TimeSpan.FromSeconds(10), ct).ConfigureAwait(false);
await Task.Delay(TimeSpan.FromSeconds(2), ct).ConfigureAwait(false);
if (!_dalamudUtil.IsInGpose) continue;
if (_usersInLobby.Count == 0) continue;
@@ -415,7 +415,7 @@ public class CharaDataGposeTogetherManager : DisposableMediatorSubscriberBase
{
while (!ct.IsCancellationRequested)
{
await Task.Delay(TimeSpan.FromSeconds(_dalamudUtil.IsInGpose ? 10 : 1), ct).ConfigureAwait(false);
await Task.Delay(TimeSpan.FromSeconds(_dalamudUtil.IsInGpose ? 2 : 1), ct).ConfigureAwait(false);
// if there are no players in lobby, don't do anything
if (_usersInLobby.Count == 0) continue;