Fixes remaining renamed chems (#2889)

This commit is contained in:
Swept
2021-01-02 07:05:32 +00:00
committed by GitHub
parent 63a7d2d433
commit cd9e5a590b
9 changed files with 17 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using Content.Server.Atmos;
using Content.Server.GameObjects.Components.Mobs;
@@ -218,7 +218,7 @@ namespace Content.Server.GameObjects.Components.Atmos
{
switch (reagent.ID)
{
case "chem.H2O":
case "chem.Water":
Extinguish();
AdjustFireStacks(-1.5f);
return ReagentUnit.Zero;

View File

@@ -1,4 +1,4 @@
#nullable enable
#nullable enable
using Content.Server.GameObjects.EntitySystems;
using Content.Server.Utility;
using Content.Shared.Chemistry;
@@ -31,7 +31,7 @@ namespace Content.Server.GameObjects.Components.Chemistry
public override void ExposeData(ObjectSerializer serializer)
{
base.ExposeData(serializer);
serializer.DataField(ref _catalystPrototype, "catalyst", "chem.H2O");
serializer.DataField(ref _catalystPrototype, "catalyst", "chem.Water");
serializer.DataField(ref _targetPrototype, "target", null);
}

View File

@@ -1,4 +1,4 @@
using Content.Server.GameObjects.Components.Mobs;
using Content.Server.GameObjects.Components.Mobs;
using Content.Server.Utility;
using Content.Shared.Chemistry;
using Content.Shared.GameObjects.Components.Nutrition;
@@ -42,7 +42,7 @@ namespace Content.Server.GameObjects.Components.Nutrition
switch (reagent.ID)
{
case "chem.SpaceCleaner":
case "chem.H2O":
case "chem.Water":
Wash();
break;
}