mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-27 19:42:26 +00:00
Fix for invalid input error when script is ran from world during bootup.
This commit is contained in:
parent
9d6248886c
commit
c749155ad2
@ -135,6 +135,10 @@ sub ShowMenuPrompt {
|
|||||||
while (1) {
|
while (1) {
|
||||||
{
|
{
|
||||||
local $| = 1;
|
local $| = 1;
|
||||||
|
if(!$menu_show && $ARGV[0] eq "ran_from_world"){
|
||||||
|
$menu_show++;
|
||||||
|
next;
|
||||||
|
}
|
||||||
print MenuOptions(), '> ';
|
print MenuOptions(), '> ';
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -151,7 +155,7 @@ sub ShowMenuPrompt {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if($ARGV[0] ne "ran_from_world"){
|
if($ARGV[0] ne "ran_from_world"){
|
||||||
warn "\n\nInvalid selection\n\n";
|
# warn "\n\nInvalid selection\n\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user