Optimise storage a quadrillion times (#37638)
* Optimise storage a quadrillion times * How sweaty can we get * Add fast angle checks * Fix chunk indices * Optimise the refresh method Helps on client a lot as the clientside is suboptimal atm. * Better name * wawawewa * Add single-angle path * Okay FINE rider
This commit is contained in:
@@ -63,6 +63,8 @@ public sealed class StorageSystem : SharedStorageSystem
|
||||
component.SavedLocations[loc.Key] = new(loc.Value);
|
||||
}
|
||||
|
||||
UpdateOccupied((uid, component));
|
||||
|
||||
var uiDirty = !component.StoredItems.SequenceEqual(_oldStoredItems);
|
||||
|
||||
if (uiDirty && UI.TryGetOpenUi<StorageBoundUserInterface>(uid, StorageComponent.StorageUiKey.Key, out var storageBui))
|
||||
|
||||
Reference in New Issue
Block a user