mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-04 02:47:22 +00:00
remove suspended check
This commit is contained in:
parent
aa155f802b
commit
3b004d7026
@ -64,10 +64,7 @@ namespace QSB.OrbSync.WorldObjects
|
||||
if (oldSlot)
|
||||
{
|
||||
oldSlot._occupyingOrb = null;
|
||||
if (!AttachedObject._orbBody.IsSuspended())
|
||||
{
|
||||
oldSlot.RaiseEvent(nameof(oldSlot.OnSlotDeactivated), oldSlot);
|
||||
}
|
||||
oldSlot.RaiseEvent(nameof(oldSlot.OnSlotDeactivated), oldSlot);
|
||||
|
||||
AttachedObject._occupiedSlot = null;
|
||||
}
|
||||
@ -75,7 +72,7 @@ namespace QSB.OrbSync.WorldObjects
|
||||
if (newSlot)
|
||||
{
|
||||
newSlot._occupyingOrb = AttachedObject;
|
||||
if (Time.timeSinceLevelLoad > 1f && !AttachedObject._orbBody.IsSuspended())
|
||||
if (Time.timeSinceLevelLoad > 1f)
|
||||
{
|
||||
newSlot.RaiseEvent(nameof(newSlot.OnSlotActivated), newSlot);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user