mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-04 02:47:22 +00:00
im dumb
This commit is contained in:
parent
9b448e9cf5
commit
8ac95d27c2
@ -57,7 +57,7 @@ public class QuantumObjectPatches : QSBPatch
|
|||||||
|
|
||||||
var worldObject = __instance.GetWorldObject<IQSBQuantumObject>();
|
var worldObject = __instance.GetWorldObject<IQSBQuantumObject>();
|
||||||
var visibleToProbePlayers = worldObject.GetVisibleToProbePlayers();
|
var visibleToProbePlayers = worldObject.GetVisibleToProbePlayers();
|
||||||
__result = visibleToProbePlayers.Any(x => x.ProbeLauncherEquipped != default);
|
__result = visibleToProbePlayers.Any();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -338,6 +338,13 @@ internal abstract class QSBQuantumObject<T> : WorldObject<T>, IQSBQuantumObject
|
|||||||
}
|
}
|
||||||
|
|
||||||
label += $"VisibleInProbeSnapshot:{AttachedObject._visibleInProbeSnapshot}\r\n";
|
label += $"VisibleInProbeSnapshot:{AttachedObject._visibleInProbeSnapshot}\r\n";
|
||||||
|
label += $"IsLockedByProbeSnapshot:{AttachedObject.IsLockedByProbeSnapshot()}\r\n";
|
||||||
|
label += "VisibleToProbePlayers:\r\n";
|
||||||
|
|
||||||
|
foreach (var player in GetVisibleToProbePlayers())
|
||||||
|
{
|
||||||
|
label += $" ID: {player.PlayerId}\r\n";
|
||||||
|
}
|
||||||
|
|
||||||
return label;
|
return label;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user