mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-13 21:40:50 +00:00
WEE IS SHORTER
This commit is contained in:
parent
965c90abb2
commit
9f9b61ebf6
QSB
@ -19,6 +19,8 @@ internal class OccasionalManager : WorldObjectManager
|
||||
{
|
||||
var gdBody = Locator._giantsDeep.GetOWRigidbody();
|
||||
var cannon = Locator._orbitalProbeCannon.GetRequiredComponent<OrbitalProbeLaunchController>();
|
||||
if (!cannon) DebugLog.DebugWrite(" CANNON IS NULL!", MessageType.Error);
|
||||
if (!cannon.GetAttachedOWRigidbody()) DebugLog.DebugWrite(" CANNON BODY IS NULL!", MessageType.Error);
|
||||
SpawnOccasional(cannon.GetAttachedOWRigidbody(), gdBody);
|
||||
|
||||
foreach (var proxy in cannon._realDebrisSectorProxies)
|
||||
|
@ -50,8 +50,8 @@ 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(100, cancellationToken: _cts.Token);
|
||||
// i think NH only takes like 3 frames to do stuff so this should be okay
|
||||
await UniTask.DelayFrame(10, cancellationToken: _cts.Token);
|
||||
|
||||
GameInit();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user