increase the delay, but only do it when nh is installed

This commit is contained in:
JohnCorby 2022-08-31 23:13:36 -07:00
parent 19773c688e
commit e04cf85825

View File

@ -50,8 +50,11 @@ public static class QSBWorldSync
}
// let NH do things first :)
// yes it has to be this long for it to always work. dw things still work no matter the delay
await UniTask.DelayFrame(20, cancellationToken: _cts.Token);
// yes it has to be this long for things to be the most stable with addons
if (QSBCore.Helper.Interaction.ModExists("xen.NewHorizons"))
{
await UniTask.DelayFrame(100, cancellationToken: _cts.Token);
}
GameInit();