fix interaction trigger flickering and throwing errors

pull/6/head
John Montagu, the 4th Earl of Sandvich 2023-08-16 22:55:07 -07:00
parent 52994723b4
commit 7355c14020
Signed by: sandvich
GPG Key ID: 9A39BE37E602B22D
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ public partial class InteractionRay : RayCast2D
}
}
if (_trigger is not null)
if (_trigger is not null && IsInstanceValid(_trigger))
{
if (_trigger != value)
{