mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +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 visibleToProbePlayers = worldObject.GetVisibleToProbePlayers();
|
||||
__result = visibleToProbePlayers.Any(x => x.ProbeLauncherEquipped != default);
|
||||
__result = visibleToProbePlayers.Any();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -338,6 +338,13 @@ internal abstract class QSBQuantumObject<T> : WorldObject<T>, IQSBQuantumObject
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user