@@ -217,6 +217,7 @@ namespace Content.Server.Entry
|
|||||||
Load(CCVars.ConfigPresetDebug, "debug");
|
Load(CCVars.ConfigPresetDebug, "debug");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#pragma warning disable CS8321
|
||||||
void Load(CVarDef<bool> cVar, string name)
|
void Load(CVarDef<bool> cVar, string name)
|
||||||
{
|
{
|
||||||
var path = $"{ConfigPresetsDirBuild}{name}.toml";
|
var path = $"{ConfigPresetsDirBuild}{name}.toml";
|
||||||
@@ -226,6 +227,7 @@ namespace Content.Server.Entry
|
|||||||
sawmill.Info("Loaded config preset: {Preset}", path);
|
sawmill.Info("Loaded config preset: {Preset}", path);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#pragma warning restore CS8321
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -146,7 +146,7 @@ public sealed partial class ExplosionSystem
|
|||||||
}
|
}
|
||||||
#if EXCEPTION_TOLERANCE
|
#if EXCEPTION_TOLERANCE
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
// Ensure the system does not get stuck in an error-loop.
|
// Ensure the system does not get stuck in an error-loop.
|
||||||
if (_activeExplosion != null)
|
if (_activeExplosion != null)
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ using Content.Server.Actions;
|
|||||||
using Content.Server.Humanoid;
|
using Content.Server.Humanoid;
|
||||||
using Content.Server.Inventory;
|
using Content.Server.Inventory;
|
||||||
using Content.Server.Mind.Commands;
|
using Content.Server.Mind.Commands;
|
||||||
using Content.Shared.Nutrition;
|
|
||||||
using Content.Server.Polymorph.Components;
|
using Content.Server.Polymorph.Components;
|
||||||
using Content.Shared.Actions;
|
using Content.Shared.Actions;
|
||||||
using Content.Shared.Buckle;
|
using Content.Shared.Buckle;
|
||||||
|
|||||||
Reference in New Issue
Block a user