Added more walia support, fix building

This commit is contained in:
modmuss50 2016-03-21 19:45:48 +00:00
parent 4f3d9ddfca
commit aa64b1a8d6
6 changed files with 5 additions and 3 deletions

View file

@ -274,7 +274,7 @@ public class TRPowerNet {
public int getTotalInsertible() {
int total = 0;
if (tile.canAcceptEnergy(side)) {
if (tile.canAcceptEnergy(side.getOpposite())) {
total += tile.addEnergy(type.transferRate, true);
}