| 75 | return watched_seeds[id]; |
| 76 | } |
| 77 | static void remove_seed_config(color_ostream &out, int id) { |
| 78 | if (!watched_seeds.count(id)) |
| 79 | return; |
| 80 | DEBUG(control,out).print("removing persistent key for seed type {}\n", id); |
| 81 | World::DeletePersistentData(watched_seeds[id]); |
| 82 | watched_seeds.erase(id); |
| 83 | } |
| 84 | |
| 85 | // this validation removes configuration data from versions prior to 50.09-r3 |
| 86 | // it can be removed once saves from 50.09 are no longer loadable |
no test coverage detected