Revert "Compoud assignments are cute"

This reverts commit 6e7bdcb9f3.
This commit is contained in:
cinder
2022-11-20 00:08:44 -06:00
parent d7de598d7e
commit b73bca2c98
3 changed files with 4 additions and 4 deletions

View File

@@ -3180,7 +3180,7 @@ namespace OpenMetaverse
if (_Store.Contains(ItemID))
ret = _Store[ItemID] as InventoryItem;
return ret ??= CreateInventoryItem(InvType, ItemID);
return ret ?? (ret = CreateInventoryItem(InvType, ItemID));
}
private static bool ParseLine(string line, out string key, out string value)

View File

@@ -68,7 +68,7 @@ namespace OpenMetaverse
public InventoryNodeDictionary Nodes
{
get => nodes ??= new InventoryNodeDictionary(this);
get => nodes ?? (nodes = new InventoryNodeDictionary(this));
set => nodes = value;
}

View File

@@ -397,7 +397,7 @@ namespace OpenMetaverse
{
return DataPool.Parcels;
}
return _Parcels ??= new InternalDictionary<int, Parcel>();
return _Parcels ?? (_Parcels = new InternalDictionary<int, Parcel>());
}
}
private InternalDictionary<int, Parcel> _Parcels;
@@ -416,7 +416,7 @@ namespace OpenMetaverse
{
return DataPool.ParcelMap;
}
return _parcelMap ??= new int[64, 64];
return _parcelMap ?? (_parcelMap = new int[64, 64]);
}
}
}