Fix small interaction bug
This commit is contained in:
@@ -44,7 +44,7 @@ namespace reallife_gamemode.Server.Events
|
|||||||
if (!player.IsLoggedIn()) return;
|
if (!player.IsLoggedIn()) return;
|
||||||
List<Client> nearbyPlayers = NAPI.Player.GetPlayersInRadiusOfPlayer(3, player);
|
List<Client> nearbyPlayers = NAPI.Player.GetPlayersInRadiusOfPlayer(3, player);
|
||||||
|
|
||||||
if (nearbyPlayers.Count > 0)
|
if (nearbyPlayers.Count > 1)
|
||||||
{
|
{
|
||||||
List<string> nearbyPlayerList = new List<string>();
|
List<string> nearbyPlayerList = new List<string>();
|
||||||
foreach (Client nearPlayer in nearbyPlayers)
|
foreach (Client nearPlayer in nearbyPlayers)
|
||||||
|
|||||||
Reference in New Issue
Block a user