mirror of
https://github.com/thegeneralist01/Scene-Manager-DevRepo
synced 2026-01-11 15:40:29 +01:00
Path ChangeName dialog default text changed to path's current name
This commit is contained in:
parent
aad8521479
commit
cc80401c55
1 changed files with 1 additions and 1 deletions
|
|
@ -316,7 +316,7 @@ namespace SceneManager.Paths
|
||||||
|
|
||||||
internal void ChangeName()
|
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))
|
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}\"");
|
Game.DisplayHelp($"Invalid path name given. Name cannot be null, empty, or consist of just white spaces. Defaulting to ~b~\"{Name}\"");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue