Transmitters now intelligently maintain buffers when transmitter nodes are destroyed

This commit is contained in:
aidancbrady committed 2015-11-26 15:41:22 -07:00
1 parent b248cf4b07
commit 2b785c95f3
10 files changed
+133 -90

No files matched your search

@@ -76,6 +76,7 @@ public class EnergyNetwork extends DynamicNetwork<EnergyAcceptorWrapper, EnergyN
{
buffer.amount = getCapacity();
}
if(buffer.amount < 0)
{
buffer.amount = 0;