Cleanup warnings: CS0067, CS8509, CS8073 (#39770)

* Cleanup

* Bonus

---------

Co-authored-by: ElectroJr <leonsfriedrich@gmail.com>
This commit is contained in:
B_Kirill
2025-09-23 13:11:29 +10:00
committed by GitHub
parent c1a21693fa
commit fd40888b0e
5 changed files with 26 additions and 8 deletions

View File

@@ -840,7 +840,7 @@ public abstract partial class SharedActionsSystem : EntitySystem
if (!_actionsQuery.Resolve(performer, ref performer.Comp, false))
{
DebugTools.Assert(performer == null || TerminatingOrDeleted(performer));
DebugTools.Assert(TerminatingOrDeleted(performer));
ent.Comp.AttachedEntity = null;
// TODO: should this delete the action since it's now orphaned?
return;