Fixed typo

This commit is contained in:
Anuken
2026-09-02 22:00:47 -04:00
parent a360416946
commit 66e47fdc57
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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);
}
+1 -1
View File
@@ -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();