lte
This commit is contained in:
parent
17cf2343c5
commit
f3a47e80bb
|
@ -98,8 +98,8 @@ internal class Messages : IDisposable {
|
||||||
this.CurrentMutex.Wait();
|
this.CurrentMutex.Wait();
|
||||||
var nearby = this.Current
|
var nearby = this.Current
|
||||||
.Values
|
.Values
|
||||||
.Where(msg => Math.Abs(msg.Position.Y - position.Y) < 1f)
|
.Where(msg => Math.Abs(msg.Position.Y - position.Y) <= 1f)
|
||||||
.Where(msg => Vector3.Distance(msg.Position, position) < 2f)
|
.Where(msg => Vector3.Distance(msg.Position, position) <= 2f)
|
||||||
.ToList();
|
.ToList();
|
||||||
this.CurrentMutex.Release();
|
this.CurrentMutex.Release();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user