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:
slarticodefast
2024-08-04 07:38:53 +02:00
committed by GitHub
parent 206495fd6d
commit bb2981400c
24 changed files with 40 additions and 40 deletions

View File

@@ -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);
}