Fix clearatmos command not working as intended.
This commit is contained in:
@@ -302,7 +302,7 @@ namespace Content.Server.Atmos
|
|||||||
var moles = 0f;
|
var moles = 0f;
|
||||||
foreach (var tile in gam)
|
foreach (var tile in gam)
|
||||||
{
|
{
|
||||||
if (tile.Air.Immutable) continue;
|
if (tile.Air == null || tile.Air.Immutable) continue;
|
||||||
tiles++;
|
tiles++;
|
||||||
moles += tile.Air.TotalMoles;
|
moles += tile.Air.TotalMoles;
|
||||||
tile.Air.RemoveRatio(1f);
|
tile.Air.RemoveRatio(1f);
|
||||||
|
|||||||
Reference in New Issue
Block a user