Fix some build warnings (#2226)

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
This commit is contained in:
metalgearsloth
2020-10-12 01:42:53 +11:00
committed by GitHub
parent b64cb24059
commit d769661692
11 changed files with 16 additions and 22 deletions

View File

@@ -845,7 +845,7 @@ namespace Content.Server.GameObjects.Components.Atmos
{
Tiles.Add(indices, new TileAtmosphere(this, gridId, indices, (GasMixture)uniqueMixes![mix].Clone()));
}
catch (ArgumentOutOfRangeException e)
catch (ArgumentOutOfRangeException)
{
Logger.Error($"Error during atmos serialization! Tile at {indices} points to an unique mix ({mix}) out of range!");
throw;