This commit is contained in:
Anna 2022-09-04 01:20:58 -04:00
parent ec88f1d179
commit a12f96341b
1 changed files with 2 additions and 2 deletions

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();