diff --git a/plugins/autonestbox.cpp b/plugins/autonestbox.cpp index f61f9d635..10c0e3cd8 100644 --- a/plugins/autonestbox.cpp +++ b/plugins/autonestbox.cpp @@ -100,7 +100,7 @@ static void autonestbox_cycle(color_ostream &out); static void init_autonestbox(color_ostream &out) { config = World::GetPersistentData(CONFIG_KEY); - + if (!config.isValid()) config = World::AddPersistentData(CONFIG_KEY);