Delta fix

This commit is contained in:
Anuken
2022-05-02 22:41:37 -04:00
parent 4dcfdbe82f
commit 6c3eb3fe1e
2 changed files with 2 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ allprojects{
ext{ ext{
versionNumber = '7' versionNumber = '7'
if(!project.hasProperty("versionModifier")) versionModifier = 'pre-alpha' if(!project.hasProperty("versionModifier")) versionModifier = 'alpha'
if(!project.hasProperty("versionType")) versionType = 'official' if(!project.hasProperty("versionType")) versionType = 'official'
appName = 'Mindustry' appName = 'Mindustry'
steamworksVersion = '0b86023401880bb5e586bc404bedbaae9b1f1c94' steamworksVersion = '0b86023401880bb5e586bc404bedbaae9b1f1c94'

View File

@@ -137,7 +137,7 @@ abstract class BuilderComp implements Posc, Statusc, Teamc, Rotc{
continue; continue;
} }
float bs = 1f / entity.buildCost * Time.delta * type.buildSpeed * buildSpeedMultiplier * state.rules.buildSpeed(team); float bs = 1f / entity.buildCost * type.buildSpeed * buildSpeedMultiplier * state.rules.buildSpeed(team);
//otherwise, update it. //otherwise, update it.
if(current.breaking){ if(current.breaking){