ignore fully funded projects

This commit is contained in:
Sainan 2025-03-30 13:16:26 +02:00
parent 03adbc2420
commit fec842f4f9

View File

@ -409,6 +409,10 @@ const setGuildTier = (guild: TGuildDatabaseDocument, newTier: number): void => {
guild.Tier = newTier; guild.Tier = newTier;
if (guild.TechProjects) { if (guild.TechProjects) {
for (const project of guild.TechProjects) { for (const project of guild.TechProjects) {
if (project.State == 1) {
continue;
}
const meta = ExportDojoRecipes.research[project.ItemType]; const meta = ExportDojoRecipes.research[project.ItemType];
{ {