mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-04 02:47:22 +00:00
ok i tested now i remove
This commit is contained in:
parent
c1af8cb2ed
commit
d1da2faf6a
@ -56,12 +56,6 @@ public class QSBItem<T> : WorldObject<T>, IQSBItem
|
|||||||
_lastSector = sector.GetWorldObject<QSBSector>();
|
_lastSector = sector.GetWorldObject<QSBSector>();
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO test and then remove
|
|
||||||
if (!_lastParent)
|
|
||||||
{
|
|
||||||
DebugLog.DebugWrite($"{this} - parent for item {AttachedObject} at {AttachedObject.DeterministicPath()} is null! wtf!", MessageType.Error);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
var socket = _lastParent.GetComponent<OWItemSocket>();
|
var socket = _lastParent.GetComponent<OWItemSocket>();
|
||||||
if (socket != null)
|
if (socket != null)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user