Make Server/Client Ignored Components lists easier to find (#1202)

Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
This commit is contained in:
Tyler Young
2020-07-02 09:50:45 -04:00
committed by GitHub
parent bb51fe2cc0
commit 9f1bdb4b0a
4 changed files with 164 additions and 153 deletions

View File

@@ -31,25 +31,7 @@ namespace Content.Server
factory.DoAutoRegistrations();
var registerIgnore = new[]
{
"ConstructionGhost",
"IconSmooth",
"SubFloorHide",
"LowWall",
"ReinforcedWall",
"Window",
"CharacterInfo",
"InteractionOutline",
"MeleeWeaponArcAnimation",
"AnimationsTest",
"ItemStatus",
"Marker",
"EmergencyLight",
"Clickable",
};
foreach (var ignoreName in registerIgnore)
foreach (var ignoreName in IgnoredComponents.List)
{
factory.RegisterIgnore(ignoreName);
}