Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnCorby committed Sep 20, 2023
1 parent ae62a11 commit 7611711
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public RaftCarrierOnEntryMessage(QSBRaft raft) : base(raft.ObjectId) { }
public override void OnReceiveRemote()
{
// TODO : work out if we can just call RaftCarrier.OnEntry with a right gameobject? tried it with _fluidDetector.gameObject and it didn't work
// even tho that is the gameobject with Raft_Detector tag. what?

var qsbRaft = Data.GetWorldObject<QSBRaft>();
var attachedObj = (RaftCarrier)WorldObject.AttachedObject;
Expand Down
1 change: 1 addition & 0 deletions QSB/EchoesOfTheEye/RaftSync/Patches/RaftPatches.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ private static bool RaftCarrier_OnEntry(RaftCarrier __instance, GameObject hitOb
{
var raft = hitObj.GetComponentInParent<RaftController>();
var qsbRaft = raft.GetWorldObject<QSBRaft>();
// owner will handle docking and sends a message telling everyone else to also dock
if (!qsbRaft.NetworkBehaviour.isOwned)
{
return false;
Expand Down

0 comments on commit 7611711

Please sign in to comment.