Fixed #6314
This commit is contained in:
@@ -242,7 +242,8 @@ public class SectorInfo{
|
|||||||
production.get(item).mean = Math.min(production.get(item).mean, rawProduction.get(item).mean);
|
production.get(item).mean = Math.min(production.get(item).mean, rawProduction.get(item).mean);
|
||||||
|
|
||||||
if(export.containsKey(item)){
|
if(export.containsKey(item)){
|
||||||
export.get(item).mean = Math.min(export.get(item).mean, Math.max(rawProduction.get(item).mean, -production.get(item).mean));
|
//export can, at most, be the raw items being produced from factories + the items being taken from the core
|
||||||
|
export.get(item).mean = Math.min(export.get(item).mean, rawProduction.get(item).mean + Math.max(-production.get(item).mean, 0));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -24,4 +24,4 @@ android.useAndroidX=true
|
|||||||
#used for slow jitpack builds; TODO see if this actually works
|
#used for slow jitpack builds; TODO see if this actually works
|
||||||
org.gradle.internal.http.socketTimeout=100000
|
org.gradle.internal.http.socketTimeout=100000
|
||||||
org.gradle.internal.http.connectionTimeout=100000
|
org.gradle.internal.http.connectionTimeout=100000
|
||||||
archash=f8d38a3dd1efa587d3ac08c3b765223935ddffa2
|
archash=5e7ddf887d6632c9ca7bd3fa1ef9fef748a3a84e
|
||||||
|
|||||||
Reference in New Issue
Block a user