mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-10-01 18:50:27 +03:00
Fixed typo
This commit is contained in:
@@ -121,7 +121,7 @@ public class Control implements ApplicationListener, Loadable{
|
||||
});
|
||||
|
||||
Events.on(WaveEvent.class, event -> {
|
||||
if(state.map.getHightScore() < state.wave){
|
||||
if(state.map.getHighScore() < state.wave){
|
||||
hiscore = true;
|
||||
state.map.setHighScore(state.wave);
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@ public class Map implements Comparable<Map>, Publishable{
|
||||
this(Vars.customMapDirectory.child(tags.get("name", "unknown")), 0, 0, tags, true);
|
||||
}
|
||||
|
||||
public int getHightScore(){
|
||||
public int getHighScore(){
|
||||
return Core.settings.getInt("hiscore" + file.nameWithoutExtension() + tags.get("steamid", ""), 0);
|
||||
}
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ public class MapPlayDialog extends BaseDialog{
|
||||
//only maps with survival are valid for high scores
|
||||
if(Gamemode.survival.valid(map)){
|
||||
cont.row();
|
||||
cont.label((() -> Core.bundle.format("level.highscore", map.getHightScore()))).pad(3f);
|
||||
cont.label((() -> Core.bundle.format("level.highscore", map.getHighScore()))).pad(3f);
|
||||
}
|
||||
|
||||
buttons.clearChildren();
|
||||
|
||||
Reference in New Issue
Block a user