When server setting multiresearch is enabled, reloading a save game will make players who just discovered a tech but did not select the next tech, lose their bulbs when they select their next tech.
Blamed:
presearch->got_tech_multi is not being saved in savegame.
When I added it by copy pasting the same lines for the very similar bool, presearch->got_tech ... it created save game incompatibility and old save games wouldn't load
However, Sveinung helped me use secfile_lookup_bool_default to work around this issue. Specifically,
When server setting multiresearch is enabled, reloading a save game will make players who just discovered a tech but did not select the next tech, lose their bulbs when they select their next tech.
Blamed: presearch->got_tech_multi is not being saved in savegame.
When I added it by copy pasting the same lines for the very similar bool, presearch->got_tech ... it created save game incompatibility and old save games wouldn't load However, Sveinung helped me use secfile_lookup_bool_default to work around this issue. Specifically,
sg_failure_ret(secfile_lookup_bool(loading->file,
/* WORKS */