Project

General

Profile

Bug #449 » 0034-update_bulbs-Fix-research-researching_saved-research.patch

main, S3_2 - Marko Lindqvist, 04/14/2024 01:17 AM

View differences:

server/techtools.c
}
fc_assert_ret(research);
/* count our research contribution this turn */
/* Count our research contribution this turn */
pplayer->server.bulbs_last_turn += bulbs;
research->bulbs_researched += bulbs;
if (A_UNKNOWN != research->researching_saved) {
if (research->researching_saved != A_UNKNOWN && research->researching_saved != A_UNSET) {
fc_assert(research->researching_saved != research->researching);
research->bulbs_researching_saved += bulbs;
}
(1-1/2)