Inline OwnerUid
This commit is contained in:
@@ -79,7 +79,7 @@ namespace Content.Server.Atmos.EntitySystems
|
||||
{
|
||||
airtight.AirBlocked = airblocked;
|
||||
UpdatePosition(airtight);
|
||||
RaiseLocalEvent(airtight.OwnerUid, new AirtightChanged(airtight));
|
||||
RaiseLocalEvent(((IComponent) airtight).Owner, new AirtightChanged(airtight));
|
||||
}
|
||||
|
||||
public void UpdatePosition(AirtightComponent airtight)
|
||||
|
||||
@@ -201,9 +201,9 @@ namespace Content.Server.Atmos.EntitySystems
|
||||
var fireStackDelta = fireStackMod - flammable.FireStacks;
|
||||
if (fireStackDelta > 0)
|
||||
{
|
||||
AdjustFireStacks(flammable.OwnerUid, fireStackDelta, flammable);
|
||||
AdjustFireStacks(((IComponent) flammable).Owner, fireStackDelta, flammable);
|
||||
}
|
||||
Ignite(flammable.OwnerUid, flammable);
|
||||
Ignite(((IComponent) flammable).Owner, flammable);
|
||||
}
|
||||
_fireEvents.Clear();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user