rebase
This commit is contained in:
@@ -261,16 +261,23 @@ public sealed class DamageChangedEvent : EntityEventArgs
|
||||
/// </summary>
|
||||
public readonly EntityUid? Origin;
|
||||
|
||||
/// <summary>
|
||||
/// Offbrand - If this damage changed happened as part of a forced refresh
|
||||
/// </summary>
|
||||
public readonly bool ForcedRefresh;
|
||||
|
||||
public DamageChangedEvent(
|
||||
DamageableComponent damageable,
|
||||
DamageSpecifier? damageDelta,
|
||||
bool interruptsDoAfters,
|
||||
EntityUid? origin
|
||||
EntityUid? origin,
|
||||
bool forcedRefresh // Offbrand
|
||||
)
|
||||
{
|
||||
Damageable = damageable;
|
||||
DamageDelta = damageDelta;
|
||||
Origin = origin;
|
||||
ForcedRefresh = forcedRefresh; // Offbrand
|
||||
|
||||
if (DamageDelta is null)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user