This commit is contained in:
Anna 2022-09-04 01:20:58 -04:00
parent 17cf2343c5
commit f3a47e80bb
Signed by: anna
GPG Key ID: 0B391D8F06FCD9E0

View File

@ -98,8 +98,8 @@ internal class Messages : IDisposable {
this.CurrentMutex.Wait();
var nearby = this.Current
.Values
.Where(msg => Math.Abs(msg.Position.Y - position.Y) < 1f)
.Where(msg => Vector3.Distance(msg.Position, position) < 2f)
.Where(msg => Math.Abs(msg.Position.Y - position.Y) <= 1f)
.Where(msg => Vector3.Distance(msg.Position, position) <= 2f)
.ToList();
this.CurrentMutex.Release();