Commit f8cfc4e6 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Prevent the code from running the stellar ghost on a foreign node.

parent b5f8e635
......@@ -171,6 +171,11 @@ void runner_do_stars_ghost(struct runner *r, struct cell *c, int timer) {
if (c->nodeID != e->nodeID)
error("Running the star ghost on a foreign node!");
/* Anything to do here? */
if (c->stars.count == 0) return;
if (!cell_is_active_stars(c, e)) return;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment