v0.7.5b: corrected capitalization on Tengu's traps

This commit is contained in:
Evan Debenham 2019-10-11 23:01:48 -04:00
parent cb59d5d629
commit dc574ffc07

View File

@ -765,7 +765,7 @@ public class NewPrisonBossLevel extends Level {
public String name(int tileX, int tileY) {
int cell = (this.tileX+tileX) + Dungeon.level.width()*(this.tileY+tileY);
if (Dungeon.level.traps.get(cell) != null){
return Dungeon.level.traps.get(cell).name;
return Messages.titleCase(Dungeon.level.traps.get(cell).name);
}
return super.name(tileX, tileY);
}