Save the id of [time_area]s into the savefile.

This should fix removing [time_area]s in a loaded game.
This commit is contained in:
fendrin 2013-12-20 04:20:29 +01:00
parent 7e965dbdd2
commit 8604edd226

View file

@ -92,6 +92,7 @@ config tod_manager::to_config() const
t->write(area.add_child("time"));
}
area["current_time"] = i->currentTime;
area["id"] = i->id;
}
return cfg;
}