From 1eb10c6fbf2bab7eb9d30ba8af43b57e669f1944 Mon Sep 17 00:00:00 2001 From: Fabian Date: Sun, 25 Apr 2021 17:34:35 +0200 Subject: [PATCH] eventport position angepasst --- ReallifeGamemode.Server/Commands/UserCommands.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ReallifeGamemode.Server/Commands/UserCommands.cs b/ReallifeGamemode.Server/Commands/UserCommands.cs index 09c8dd44..f9718c59 100644 --- a/ReallifeGamemode.Server/Commands/UserCommands.cs +++ b/ReallifeGamemode.Server/Commands/UserCommands.cs @@ -62,8 +62,8 @@ namespace ReallifeGamemode.Server.Commands } Random rnd = new Random(); - int randomX = rnd.Next(-5, 5); - int randomY = rnd.Next(-5, 5); + int randomX = rnd.Next(-3, 3); + int randomY = rnd.Next(-3, 3); Vector3 teleportPosition = new Vector3(PositionManager.eventportPosition.X + randomX, PositionManager.eventportPosition.Y + randomY, PositionManager.eventportPosition.Z);