Clean up all missing EntitySystem proxy method uses (#38353)
This commit is contained in:
@@ -73,12 +73,12 @@ public partial class InventorySystem
|
||||
return false;
|
||||
|
||||
// Let's spawn this first...
|
||||
var item = EntityManager.SpawnEntity(prototype, Transform(uid).Coordinates);
|
||||
var item = Spawn(prototype, Transform(uid).Coordinates);
|
||||
|
||||
// Helper method that deletes the item and returns false.
|
||||
bool DeleteItem()
|
||||
{
|
||||
EntityManager.DeleteEntity(item);
|
||||
Del(item);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user