Freeze eventbus dictionaries (#22628)

* Freeze event bus

* Cleanup
This commit is contained in:
Leon Friedrich
2024-01-06 04:24:42 -05:00
committed by GitHub
parent 57f245e789
commit 347655fac1
4 changed files with 3 additions and 8 deletions

View File

@@ -64,10 +64,7 @@ namespace Content.Server.Entry
factory.DoAutoRegistrations();
factory.IgnoreMissingComponents("Visuals");
foreach (var ignoreName in IgnoredComponents.List)
{
factory.RegisterIgnore(ignoreName);
}
factory.RegisterIgnore(IgnoredComponents.List);
prototypes.RegisterIgnore("parallax");
prototypes.RegisterIgnore("guideEntry");