mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-17 10:14:14 +00:00
quantum moon assumed initial controller player (local player) will be id 1
This commit is contained in:
parent
133c82df04
commit
c80194ecd7
@ -1,4 +1,6 @@
|
|||||||
namespace QSB.QuantumSync.WorldObjects
|
using QSB.Player;
|
||||||
|
|
||||||
|
namespace QSB.QuantumSync.WorldObjects
|
||||||
{
|
{
|
||||||
internal class QSBEyeProxyQuantumMoon : QSBQuantumObject<EyeProxyQuantumMoon>
|
internal class QSBEyeProxyQuantumMoon : QSBQuantumObject<EyeProxyQuantumMoon>
|
||||||
{
|
{
|
||||||
@ -6,7 +8,7 @@
|
|||||||
{
|
{
|
||||||
ObjectId = id;
|
ObjectId = id;
|
||||||
AttachedObject = moonObject;
|
AttachedObject = moonObject;
|
||||||
ControllingPlayer = 1u;
|
ControllingPlayer = QSBPlayerManager.LocalPlayerId;
|
||||||
base.Init(moonObject, id);
|
base.Init(moonObject, id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
namespace QSB.QuantumSync.WorldObjects
|
using QSB.Player;
|
||||||
|
|
||||||
|
namespace QSB.QuantumSync.WorldObjects
|
||||||
{
|
{
|
||||||
internal class QSBQuantumMoon : QSBQuantumObject<QuantumMoon>
|
internal class QSBQuantumMoon : QSBQuantumObject<QuantumMoon>
|
||||||
{
|
{
|
||||||
@ -6,7 +8,7 @@
|
|||||||
{
|
{
|
||||||
ObjectId = id;
|
ObjectId = id;
|
||||||
AttachedObject = moonObject;
|
AttachedObject = moonObject;
|
||||||
ControllingPlayer = 1u;
|
ControllingPlayer = QSBPlayerManager.LocalPlayerId;
|
||||||
base.Init(moonObject, id);
|
base.Init(moonObject, id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user