mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-29 09:32:38 +00:00
Update QSBOrb.cs
This commit is contained in:
parent
9632d31522
commit
609567a8cc
@ -51,6 +51,8 @@ namespace QSB.OrbSync.WorldObjects
|
||||
return;
|
||||
}
|
||||
|
||||
DebugLog.DebugWrite($"{this} dragging = {value}");
|
||||
|
||||
if (value)
|
||||
{
|
||||
AttachedObject._isBeingDragged = true;
|
||||
@ -65,6 +67,8 @@ namespace QSB.OrbSync.WorldObjects
|
||||
AttachedObject._isBeingDragged = false;
|
||||
AttachedObject._interactibleCollider.enabled = true;
|
||||
}
|
||||
|
||||
DebugLog.DebugWrite($"{this} interactible collider enabled = {AttachedObject._interactibleCollider.enabled}");
|
||||
}
|
||||
|
||||
public void SetSlot(int slotIndex, bool playAudio)
|
||||
@ -76,6 +80,8 @@ namespace QSB.OrbSync.WorldObjects
|
||||
return;
|
||||
}
|
||||
|
||||
DebugLog.DebugWrite($"{this} slot = {slotIndex} {newSlot}");
|
||||
|
||||
if (oldSlot)
|
||||
{
|
||||
oldSlot._occupyingOrb = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user