From 969e09210d89f4cecf01920d8315f984ea59245e Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 13 Feb 2017 16:14:48 -0800 Subject: Fix loading of existing moons. --- node/Topology.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'node/Topology.hpp') diff --git a/node/Topology.hpp b/node/Topology.hpp index 35f98ccc..39367d6e 100644 --- a/node/Topology.hpp +++ b/node/Topology.hpp @@ -258,9 +258,10 @@ public: * Validate new world and update if newer and signature is okay * * @param newWorld A new or updated planet or moon to learn + * @param alwaysAcceptNew If true, always accept new moons even if we're not waiting for one * @return True if it was valid and newer than current (or totally new for moons) */ - bool addWorld(const World &newWorld); + bool addWorld(const World &newWorld,bool alwaysAcceptNew); /** * Add a moon -- cgit v1.2.3