contact-hud: the shield ripple draws only where DrawsAt places the ship
Fixes finding shield-ripple-draws-on-untracked. ShieldManager already reaches ActionGameManager (Clock), so DrawsAt stays the one owner. Unity code; compile verified separately. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
a1d1db963f
commit
0bff723029
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ public class ShieldManager : MonoBehaviour, IAbsorbPresenter
|
|||
// ImpactPresenter's.
|
||||
public void Absorb(AbsorbEvent e)
|
||||
{
|
||||
if (e.Layer != AbsorbLayer.Shield || Entity == null || Entity.Shield == null || !Entity.Shield.Item.Active.Value) return;
|
||||
if (e.Layer != AbsorbLayer.Shield || Entity == null || Entity.Shield == null || !Entity.Shield.Item.Active.Value || !ActionGameManager.DrawsAt(Entity)) return;
|
||||
ShowHit(DrawAhead.Carried(Entity, e.Position, ActionGameManager.Clock.Lead).ToUnity(), CollisionHitDuration);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue