Polar aerodrome fixes / Objective timer multiplier for difficulty
This commit is contained in:
@@ -442,7 +442,7 @@ public class MapObjectives implements Iterable<MapObjective>, Eachable<MapObject
|
||||
|
||||
@Override
|
||||
public boolean update(){
|
||||
return (countup += Time.delta) >= duration;
|
||||
return (countup += Time.delta) >= duration * state.rules.objectiveTimerMultiplier;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -454,7 +454,7 @@ public class MapObjectives implements Iterable<MapObjective>, Eachable<MapObject
|
||||
@Override
|
||||
public String text(){
|
||||
if(text != null){
|
||||
int i = (int)((duration - countup) / 60f);
|
||||
int i = (int)((duration * state.rules.objectiveTimerMultiplier - countup) / 60f);
|
||||
StringBuilder timeString = new StringBuilder();
|
||||
|
||||
int m = i / 60;
|
||||
|
||||
Reference in New Issue
Block a user