mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-10-02 03:00:29 +03:00
Fixed some map multipliers
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -2,9 +2,11 @@ package mindustry.tools;
|
||||
|
||||
import arc.*;
|
||||
import arc.files.*;
|
||||
import arc.math.*;
|
||||
import arc.struct.*;
|
||||
import arc.util.*;
|
||||
import mindustry.content.*;
|
||||
import mindustry.game.*;
|
||||
import mindustry.game.MapObjectives.*;
|
||||
import mindustry.io.*;
|
||||
import mindustry.logic.LExecutor.*;
|
||||
@@ -77,6 +79,10 @@ public class MapFixer{
|
||||
changed = true;
|
||||
}
|
||||
|
||||
if(!Mathf.equal(state.rules.unitCost(Team.sharded), 1f) || !Mathf.equal(state.rules.unitBuildSpeed(Team.sharded), 1f)){
|
||||
Log.warn("@: unit build speed/cost multipliers are not 1! (Values for cost | build speed: @ | @)", map.name(), state.rules.unitCost(Team.sharded), state.rules.unitBuildSpeed(Team.sharded));
|
||||
}
|
||||
|
||||
{ //unlocalized check
|
||||
Seq<TimerObjective> timers = state.rules.objectives.all.select(m -> m instanceof TimerObjective t && !m.hidden && t.text != null &&
|
||||
!t.text.isEmpty() && !t.text.contains("@")).as();
|
||||
|
||||
Reference in New Issue
Block a user