diff --git a/server/masterserver/gsmgr.cc b/server/masterserver/gsmgr.cc index 3f02b73..d484057 100644 --- a/server/masterserver/gsmgr.cc +++ b/server/masterserver/gsmgr.cc @@ -293,6 +293,9 @@ void GSMgr::RearrangeNode() std::sort(pair.second.begin(), pair.second.end(), [] (const std::shared_ptr a, const std::shared_ptr b) { + if (a->version > b->version) { + return true; + } if (a->servicing && b->servicing) { if (a->online_num < b->online_num) { return true;