Added research state to harvest and crafting

This commit is contained in:
2026-05-08 20:15:09 +02:00
parent 032836b9ec
commit 342b6e490f
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -37,6 +37,6 @@ public class GameResource
public bool CanExtract()
{
return isEndless || currentAmount > 0;
return (isEndless || currentAmount > 0) && GameData.availableResearch[item.Research].state == ResearchState.RESEARCHED;
}
}