mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-04 02:47:22 +00:00
22 lines
466 B
C#
22 lines
466 B
C#
|
using QSB.MeteorSync.WorldObjects;
|
|||
|
using QSB.WorldSync;
|
|||
|
|
|||
|
namespace QSB.MeteorSync
|
|||
|
{
|
|||
|
/// we have to do this fake bs
|
|||
|
public class MeteorManager : WorldObjectManager
|
|||
|
{
|
|||
|
public new static bool AllReady;
|
|||
|
|
|||
|
protected override void RebuildWorldObjects(OWScene scene)
|
|||
|
{
|
|||
|
// wait a bit because meteors get created late
|
|||
|
QSBCore.UnityEvents.FireInNUpdates(() =>
|
|||
|
{
|
|||
|
QSBWorldSync.Init<QSBMeteor, MeteorController>();
|
|||
|
AllReady = true;
|
|||
|
}, 10);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|