oops, dont ask things twice

0.9.1.0-post-fixes
UbitUmarov 2019-10-24 17:30:24 +01:00
parent be6080c3c8
commit bf2e0f7737
1 changed files with 1 additions and 3 deletions

View File

@ -163,9 +163,7 @@ namespace OpenSim.Framework.Console
{
itisdone = true;
ret = Prompt(p, def);
if (def != null)
if (def == null)
ret = ReadLine(String.Format("{0}: ", p), false, echo);
else
ret = ReadLine(String.Format("{0} [{1}]: ", p, def), false, echo);