From cc80401c55f18fd70349432a5d58aad931696113 Mon Sep 17 00:00:00 2001 From: Rich Dunne Date: Sun, 23 May 2021 06:22:34 -0600 Subject: [PATCH] Path ChangeName dialog default text changed to path's current name --- SceneManager/Paths/Path.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SceneManager/Paths/Path.cs b/SceneManager/Paths/Path.cs index 40967da..14019fd 100644 --- a/SceneManager/Paths/Path.cs +++ b/SceneManager/Paths/Path.cs @@ -316,7 +316,7 @@ namespace SceneManager.Paths internal void ChangeName() { - var pathName = UserInput.PromptPlayerForFileName("Type the name you would like for your path", "Enter a path name", 100); + var pathName = UserInput.PromptPlayerForFileName("Type the name you would like for your path", $"{Name}", 100); if (string.IsNullOrWhiteSpace(pathName)) { Game.DisplayHelp($"Invalid path name given. Name cannot be null, empty, or consist of just white spaces. Defaulting to ~b~\"{Name}\"");