Feature #788 ยป 0013-AI-Refuse-receiving-techs-when-can-t-afford-upkeep.patch
| ai/default/daidiplomacy.c | ||
|---|---|---|
|
}
|
||
|
if (pplayer->server.bulbs_last_turn < limit) {
|
||
|
worth /= 2;
|
||
|
if (research->bulbs_researched < 0) {
|
||
|
worth = -BIG_NUMBER;
|
||
|
} else {
|
||
|
worth /= 2;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||