mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-09 12:54:51 +00:00
16 lines
317 B
C#
16 lines
317 B
C#
using QSB.Player;
|
|
using System.Linq;
|
|
|
|
namespace QSB.QuantumSync.WorldObjects
|
|
{
|
|
internal class QSBQuantumMoon : QSBQuantumObject<QuantumMoon>
|
|
{
|
|
public override void Init()
|
|
{
|
|
// smallest player id is the host
|
|
ControllingPlayer = QSBPlayerManager.PlayerList.Min(x => x.PlayerId);
|
|
base.Init();
|
|
}
|
|
}
|
|
}
|