Cleanup (removing unused variables & other redundancies, rethrowing exceptions instead of wrapping them in a new exception instance)
This commit is contained in:
@@ -367,7 +367,7 @@ namespace Barotrauma
|
||||
}
|
||||
else if (spawnInventory != null)
|
||||
{
|
||||
Item.Spawner.AddToSpawnQueue(itemPrefab, (Inventory)spawnInventory);
|
||||
Item.Spawner.AddToSpawnQueue(itemPrefab, spawnInventory);
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user