Clean up all missing EntitySystem proxy method uses (#38353)
This commit is contained in:
@@ -40,7 +40,7 @@ namespace Content.Server.Storage.EntitySystems
|
||||
// Calculate the average price of the possible spawned items
|
||||
args.Price += _pricing.GetPrice(protUid) * entry.SpawnProbability * entry.GetAmount(getAverage: true);
|
||||
|
||||
EntityManager.DeleteEntity(protUid);
|
||||
Del(protUid);
|
||||
}
|
||||
|
||||
foreach (var group in orGroups)
|
||||
@@ -54,7 +54,7 @@ namespace Content.Server.Storage.EntitySystems
|
||||
(entry.SpawnProbability / group.CumulativeProbability) *
|
||||
entry.GetAmount(getAverage: true);
|
||||
|
||||
EntityManager.DeleteEntity(protUid);
|
||||
Del(protUid);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user