Initial support for arbitrary types of content in tech tree
This commit is contained in:
@@ -226,7 +226,7 @@ public class SStats implements SteamUserStatsCallback{
|
||||
Events.on(ResearchEvent.class, e -> {
|
||||
if(e.content == Blocks.router) researchRouter.complete();
|
||||
|
||||
if(!TechTree.all.contains(t -> t.block.locked())){
|
||||
if(!TechTree.all.contains(t -> t.content.locked())){
|
||||
researchAll.complete();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user