2021-11-18 07:22:14 +00:00
|
|
|
|
using QSB.Player;
|
2021-12-02 12:38:38 +00:00
|
|
|
|
using System.Linq;
|
2021-11-18 07:22:14 +00:00
|
|
|
|
|
|
|
|
|
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
|
|
|
|
{
|
2021-12-11 22:38:54 +00:00
|
|
|
|
public override void Init()
|
2021-02-26 14:19:42 +00:00
|
|
|
|
{
|
2021-12-19 22:35:45 +00:00
|
|
|
|
// smallest player id is the host
|
|
|
|
|
ControllingPlayer = QSBPlayerManager.PlayerList.Min(x => x.PlayerId);
|
2021-12-11 22:38:54 +00:00
|
|
|
|
base.Init();
|
2021-02-26 14:19:42 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|