Fix some mispredict reconciliation issues. (#6319)

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
Leon Friedrich
2022-01-31 05:34:48 +13:00
committed by GitHub
parent 90b2f716a4
commit d40bcc9168
15 changed files with 110 additions and 71 deletions

View File

@@ -1,4 +1,5 @@
using System;
using System.Collections.Generic;
using Robust.Shared.Serialization;
namespace Content.Shared.Damage
@@ -11,4 +12,20 @@ namespace Content.Shared.Damage
DamageUpdateGroups,
ForceUpdate
}
[Serializable, NetSerializable]
public class DamageVisualizerGroupData : ICloneable
{
public List<string> GroupList;
public DamageVisualizerGroupData(List<string> groupList)
{
GroupList = groupList;
}
public object Clone()
{
return new DamageVisualizerGroupData(new List<string>(GroupList));
}
}
}