Merge stable into master (#38395)

This commit is contained in:
slarticodefast 2025-06-17 17:25:30 +02:00 • committed by GitHub
commit 5a69b7e2fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -108,7 +108,7 @@ public abstract class SharedActionsSystem : EntitySystem
/// </summary>
public Entity<ActionComponent>? GetAction(Entity<ActionComponent?>? action, bool logError = true)
{
if (action is not {} ent || TerminatingOrDeleted(ent))
if (action is not {} ent || Deleted(ent))
return null;
if (!_actionQuery.Resolve(ent, ref ent.Comp, logError))