Disabled smart resource usage for now

This commit is contained in:
Anuken
2019-12-12 16:39:34 -05:00
parent bce379d40d
commit c3e41140e0

View File

@@ -54,8 +54,10 @@ public class PowerGraph{
return Mathf.clamp(lastPowerProduced / lastPowerNeeded); return Mathf.clamp(lastPowerProduced / lastPowerNeeded);
} }
/** @return multiplier of speed at which resources should be consumed for power generation. */
public float getUsageFraction(){ public float getUsageFraction(){
return lastUsageFraction; //TODO enable it later, or not?
return 1f; //lastUsageFraction;
} }
public float getPowerProduced(){ public float getPowerProduced(){