Skip to content

Commit

Permalink
Fix /keepguard path command
Browse files Browse the repository at this point in the history
Patrol guards wouldn't use the created path previously
  • Loading branch information
NetDwarf committed Nov 17, 2022
1 parent 2ac6017 commit 41f13df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GameServer/commands/gmcommands/keepguard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 41f13df

Please sign in to comment.