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:
parent
7e965dbdd2
commit
8604edd226
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue