quantum-space-buddies/QSB/QuantumSync/WorldObjects/QSBEyeProxyQuantumMoon.cs

16 lines
333 B
C#

using QSB.Player;
using System.Linq;
namespace QSB.QuantumSync.WorldObjects
{
internal class QSBEyeProxyQuantumMoon : QSBQuantumObject<EyeProxyQuantumMoon>
{
public override void Init()
{
// smallest player id is the host
ControllingPlayer = QSBPlayerManager.PlayerList.Min(x => x.PlayerId);
base.Init();
}
}
}