quantum moon assumed initial controller player (local player) will be id 1

This commit is contained in:
JohnCorby 2021-11-17 23:22:14 -08:00
parent 133c82df04
commit c80194ecd7
2 changed files with 8 additions and 4 deletions

View File

@ -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);
} }
} }

View File

@ -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);
} }
} }