mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2024-12-25 18:16:35 +00:00
commit
8154f016ac
@ -61,11 +61,9 @@ public class ServerQuantumMoonPatches : QSBPatch
|
||||
return false;
|
||||
}
|
||||
|
||||
if (__instance._stateIndex == 5 && anyPlayerInQM && !playersInQuantumMoon.All(x => x.EntangledObject != null && x.EntangledObject.AttachedObject == __instance))
|
||||
{
|
||||
__result = false;
|
||||
return false;
|
||||
}
|
||||
// Base code has a check here, but it's broken and does nothing.
|
||||
// if (this._stateIndex == 5 && this._isPlayerInside && !this.IsPlayerEntangled())
|
||||
// QuantumMoon overrides IsPlayerEntangled() to just return _isPlayerInside.
|
||||
|
||||
for (var i = 0; i < 10; i++)
|
||||
{
|
||||
|
@ -209,6 +209,8 @@ public class DebugGUI : MonoBehaviour, IAddComponentOnStart
|
||||
WriteLine(2, $" - Ref. Transform : {(referenceTransform == null ? "NULL" : referenceTransform.name)}", referenceTransform == null ? Color.red : Color.white);
|
||||
WriteLine(2, $" - Local Position : {player.Body.transform.localPosition}");
|
||||
WriteLine(2, $" - Position : {player.Body.transform.position}");
|
||||
|
||||
WriteLine(2, $" - Entangled Object: {(player.EntangledObject == null ? "NULL" : player.EntangledObject.Name)}");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
"author": "Nebula, John, Alek, & Rai",
|
||||
"name": "Quantum Space Buddies",
|
||||
"uniqueName": "Raicuparta.QuantumSpaceBuddies",
|
||||
"version": "1.2.2",
|
||||
"version": "1.2.3",
|
||||
"owmlVersion": "2.14.0",
|
||||
"dependencies": [ "_nebula.MenuFramework", "JohnCorby.VanillaFix" ],
|
||||
"pathsToPreserve": [ "debugsettings.json" ],
|
||||
|
Loading…
Reference in New Issue
Block a user