From 41f13dfdfa3b75f2c394e4acfe799937a78acf8a Mon Sep 17 00:00:00 2001 From: NetDwarf Date: Wed, 16 Nov 2022 08:15:32 +0100 Subject: [PATCH] Fix /keepguard path command Patrol guards wouldn't use the created path previously --- GameServer/commands/gmcommands/keepguard.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GameServer/commands/gmcommands/keepguard.cs b/GameServer/commands/gmcommands/keepguard.cs index 7ffe056c38..0ea46cf1e1 100644 --- a/GameServer/commands/gmcommands/keepguard.cs +++ b/GameServer/commands/gmcommands/keepguard.cs @@ -344,7 +344,7 @@ public void OnCommand(GameClient client, string[] args) { RemoveAllTempPathObjects(client); - PathPoint startpoint = new PathPoint(client.Player.X, client.Player.Y, client.Player.Z, 100000, ePathType.Once); + PathPoint startpoint = new PathPoint(client.Player.X, client.Player.Y, client.Player.Z, 5000, ePathType.Once); client.Player.TempProperties.setProperty(TEMP_PATH_FIRST, startpoint); client.Player.TempProperties.setProperty(TEMP_PATH_LAST, startpoint); client.Player.Out.SendMessage(LanguageMgr.GetTranslation(client.Account.Language, "GMCommands.KeepGuard.Path.CreationStarted"), eChatType.CT_System, eChatLoc.CL_SystemWindow);