mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Don't recreate _entTraitDict on disconnect (#4200)
This commit is contained in:
@@ -77,7 +77,10 @@ namespace Robust.Shared.GameObjects
|
||||
_netComponents.Clear();
|
||||
_entCompIndex.Clear();
|
||||
_deleteSet.Clear();
|
||||
FillComponentDict();
|
||||
foreach (var dict in _entTraitDict.Values)
|
||||
{
|
||||
dict.Clear();
|
||||
}
|
||||
}
|
||||
|
||||
private void AddComponentRefType(CompIdx type)
|
||||
|
||||
Reference in New Issue
Block a user