complete paused colour research less disruptively
All checks were successful
Build / build (18) (push) Successful in 43s
Build / build (20) (push) Successful in 1m15s
Build / build (18) (pull_request) Successful in 43s
Build / build (22) (push) Successful in 1m15s
Build / build (20) (pull_request) Successful in 1m16s
Build / build (22) (pull_request) Successful in 39s
All checks were successful
Build / build (18) (push) Successful in 43s
Build / build (20) (push) Successful in 1m15s
Build / build (18) (pull_request) Successful in 43s
Build / build (22) (push) Successful in 1m15s
Build / build (20) (pull_request) Successful in 1m16s
Build / build (22) (pull_request) Successful in 39s
This commit is contained in:
parent
a7f252468a
commit
51f8b4f6e8
@ -414,12 +414,17 @@ export const processGuildTechProjectContributionsUpdate = async (
|
||||
): Promise<void> => {
|
||||
if (techProject.ReqCredits == 0 && !techProject.ReqItems.find(x => x.ItemCount > 0)) {
|
||||
// This research is now fully funded.
|
||||
const recipe = ExportDojoRecipes.research[techProject.ItemType];
|
||||
processFundedGuildTechProject(guild, techProject, recipe);
|
||||
if (techProject.ItemType.substring(0, 39) == "/Lotus/Types/Items/Research/DojoColors/") {
|
||||
|
||||
if (
|
||||
techProject.State == 0 &&
|
||||
techProject.ItemType.substring(0, 39) == "/Lotus/Types/Items/Research/DojoColors/"
|
||||
) {
|
||||
guild.ActiveDojoColorResearch = "";
|
||||
await removePigmentsFromGuildMembers(guild._id);
|
||||
}
|
||||
|
||||
const recipe = ExportDojoRecipes.research[techProject.ItemType];
|
||||
processFundedGuildTechProject(guild, techProject, recipe);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user