Allow derelict block pickup / Fixed derelict blocks being targeted

This commit is contained in:
Anuken
2021-07-24 08:44:43 -04:00
parent b88364ab48
commit 9160ee546c
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -306,7 +306,7 @@ public class BlockIndexer{
for(int i = 0; i < activeTeams.size; i++){
Team enemy = activeTeams.items[i];
if(enemy == team || (team == Team.derelict && !state.rules.coreCapture)) continue;
if(enemy == team || (enemy == Team.derelict && !state.rules.coreCapture)) continue;
Building candidate = indexer.findTile(enemy, x, y, range, pred, true);
if(candidate == null) continue;