forked from github/server
commit
138114bcb1
|
@ -99,8 +99,6 @@ function self.update()
|
||||||
r:set_resource("tree", trees * 1.1)
|
r:set_resource("tree", trees * 1.1)
|
||||||
msg:send_region(r)
|
msg:send_region(r)
|
||||||
end
|
end
|
||||||
if clear then
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
|
|
@ -1493,7 +1493,9 @@ int read_game(gamedata *data)
|
||||||
if (r->flags & RF_LIGHTHOUSE) {
|
if (r->flags & RF_LIGHTHOUSE) {
|
||||||
building *b;
|
building *b;
|
||||||
for (b = r->buildings; b; b = b->next) {
|
for (b = r->buildings; b; b = b->next) {
|
||||||
update_lighthouse(b);
|
if (is_lighthouse(b->type)) {
|
||||||
|
update_lighthouse(b);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue