Revert "virtualize all net ids to reduce net traffic"
This reverts commit 027c338c5f.
Formatting fix left in.
This commit is contained in:
@@ -16,9 +16,8 @@ namespace Content.Shared.GameObjects
|
||||
public class DamageComponentState : ComponentState
|
||||
{
|
||||
public Dictionary<DamageType, int> CurrentDamage = new Dictionary<DamageType, int>();
|
||||
public override uint NetID => ContentNetIDs.DAMAGEABLE;
|
||||
|
||||
public DamageComponentState(Dictionary<DamageType, int> damage)
|
||||
public DamageComponentState(Dictionary<DamageType, int> damage) : base(ContentNetIDs.DAMAGEABLE)
|
||||
{
|
||||
CurrentDamage = damage;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user