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

16 lines
317 B
C#
Raw Normal View History

using QSB.Player;
2021-12-02 12:38:38 +00:00
using System.Linq;
namespace QSB.QuantumSync.WorldObjects
2021-02-26 14:19:42 +00:00
{
2021-02-26 22:26:17 +00:00
internal class QSBQuantumMoon : QSBQuantumObject<QuantumMoon>
2021-02-26 14:19:42 +00:00
{
public override void Init()
2021-02-26 14:19:42 +00:00
{
// smallest player id is the host
ControllingPlayer = QSBPlayerManager.PlayerList.Min(x => x.PlayerId);
base.Init();
2021-02-26 14:19:42 +00:00
}
}
}