mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-29 00:32:43 +00:00
22 lines
557 B
C#
22 lines
557 B
C#
|
using Cysharp.Threading.Tasks;
|
|||
|
using QSB.WorldSync;
|
|||
|
using System.Threading;
|
|||
|
|
|||
|
namespace QSB.EyeOfTheUniverse.Tomb;
|
|||
|
|
|||
|
internal class TombManager : WorldObjectManager
|
|||
|
{
|
|||
|
public override bool DlcOnly => true;
|
|||
|
public override WorldObjectScene WorldObjectScene => WorldObjectScene.Eye;
|
|||
|
|
|||
|
public override async UniTask BuildWorldObjects(OWScene scene, CancellationToken ct)
|
|||
|
{
|
|||
|
if (QSBCore.IsHost)
|
|||
|
{
|
|||
|
// sike!! no worldobjects here
|
|||
|
var tomb = QSBWorldSync.GetUnityObject<EyeTombController>();
|
|||
|
tomb.gameObject.AddComponent<EyeTombWatcher>();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|