This commit is contained in:
Anuken 2020-12-25 15:56:53 -05:00
parent bba52e99e0
commit 834e4f175b

View File

@ -226,7 +226,7 @@ abstract class BuilderComp implements Posc, Teamc, Rotc{
Tile tile = world.tile(plan.x, plan.y);
var core = team.core();
if(tile == null || (!within(tile, buildingRange) && !state.isEditor())){
if(tile == null || (!state.rules.infiniteResources && !within(tile, buildingRange) && !state.isEditor())){
return;
}