rebase
This commit is contained in:
@@ -47,7 +47,8 @@ public sealed partial class DamageableSystem : EntitySystem
|
||||
Entity<DamageableComponent> ent,
|
||||
DamageSpecifier? damageDelta = null,
|
||||
bool interruptsDoAfters = true,
|
||||
EntityUid? origin = null
|
||||
EntityUid? origin = null,
|
||||
bool forceRefresh = false // Offbrand
|
||||
)
|
||||
{
|
||||
ent.Comp.Damage.GetDamagePerGroup(_prototypeManager, ent.Comp.DamagePerGroup);
|
||||
@@ -66,7 +67,7 @@ public sealed partial class DamageableSystem : EntitySystem
|
||||
|
||||
// TODO DAMAGE
|
||||
// byref struct event.
|
||||
RaiseLocalEvent(ent, new DamageChangedEvent(ent.Comp, damageDelta, interruptsDoAfters, origin));
|
||||
RaiseLocalEvent(ent, new DamageChangedEvent(ent.Comp, damageDelta, interruptsDoAfters, origin, forceRefresh)); // Offbrand
|
||||
}
|
||||
|
||||
private void DamageableGetState(Entity<DamageableComponent> ent, ref ComponentGetState args)
|
||||
|
||||
Reference in New Issue
Block a user