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

16 lines
333 B
C#
Raw Normal View History

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