fixes #490
This commit is contained in:
parent
04f0736568
commit
477a60e8de
1 changed files with 1 additions and 1 deletions
|
@ -316,7 +316,7 @@ public class TRPowerNet
|
|||
public int addEnergy(int max)
|
||||
{
|
||||
int total = 0;
|
||||
if (tile.canAcceptEnergy(side) && max > 0)
|
||||
if (tile.canAcceptEnergy(side.getOpposite()) && max > 0)
|
||||
{
|
||||
if (type.tier.ordinal() > tile.getTier().ordinal() && max > tile.getMaxInput())
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue