Correct wrong variable use in start_autonestbox.

develop
ab9rf 2012-10-12 00:38:45 -05:00
parent 39a25856cd
commit 12eeb9e5c0
1 changed files with 2 additions and 2 deletions

@ -3498,11 +3498,11 @@ command_result start_autonestbox(color_ostream &out)
{
enable_autonestbox = true;
if (!config_autobutcher.isValid())
if (!config_autonestbox.isValid())
{
config_autonestbox = World::AddPersistentData("autonestbox/config");
if (!config_autobutcher.isValid())
if (!config_autonestbox.isValid())
{
out << "Cannot enable autonestbox without a world!" << endl;
return CR_OK;