Mistake in RegenProjector (#6907)

This commit is contained in:
WayZer
2022-06-08 20:41:31 +08:00
committed by GitHub
parent 48e058d663
commit 318447afaf

View File

@@ -128,7 +128,7 @@ public class RegenProjector extends Block{
if(efficiency > 0){
if((optionalTimer += Time.delta * optionalEfficiency) >= optionalUseTime){
consume();
optionalUseTime = 0f;
optionalTimer = 0f;
}
float healAmount = Mathf.lerp(1f, optionalMultiplier, optionalEfficiency) * healPercent;