mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-06 13:15:42 +12:00
Fix Nearby
This commit is contained in:
parent
94314a51df
commit
6734154867
2 changed files with 5 additions and 5 deletions
|
@ -1 +1 @@
|
|||
Subproject commit 731175fef56355cf8ecf7e7e3a034d5fc3f0d258
|
||||
Subproject commit 85caa27ee931439d76003b5471a9dac906b491ba
|
|
@ -113,13 +113,13 @@ namespace HISP.Game
|
|||
angle = (angle % 360 + 360) % 360;
|
||||
|
||||
if (angle >= 270 && angle <= 360 )
|
||||
usersWest += " " + nearbyUser.Username + " ";
|
||||
usersWest += nearbyUser.Username + " ";
|
||||
else if (angle >= 90 && angle <= 180)
|
||||
usersEast += " " + nearbyUser.Username + " ";
|
||||
usersEast += nearbyUser.Username + " ";
|
||||
else if (angle >= 180 && angle <= 270)
|
||||
usersSouth += " " + nearbyUser.Username + " ";
|
||||
usersSouth += nearbyUser.Username + " ";
|
||||
else if (angle >= 0 && angle <= 90)
|
||||
usersNorth += " " + nearbyUser.Username + " ";
|
||||
usersNorth += nearbyUser.Username + " ";
|
||||
|
||||
|
||||
count++;
|
||||
|
|
Loading…
Add table
Reference in a new issue