replace all uses of TryGetContainingContainer with non-obsolete overload (#30583)
* replace all uses of TryGetContainerContainer with non-obsolete overload * rerun
This commit is contained in:
@@ -37,7 +37,7 @@ public sealed class DamageOnHoldingSystem : EntitySystem
|
||||
{
|
||||
if (!component.Enabled || component.NextDamage > _timing.CurTime)
|
||||
continue;
|
||||
if (_container.TryGetContainingContainer(uid, out var container))
|
||||
if (_container.TryGetContainingContainer((uid, null, null), out var container))
|
||||
{
|
||||
_damageableSystem.TryChangeDamage(container.Owner, component.Damage, origin: uid);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user