v0.3.5: fixed examining crash
This commit is contained in:
parent
4b3b35695f
commit
22b91231fc
|
@ -775,8 +775,10 @@ public class GameScene extends PixelScene {
|
|||
} else {
|
||||
if (Dungeon.visible[cell]) {
|
||||
Mob mob = (Mob) Actor.findChar(cell);
|
||||
if (mob != null) objects.add(mob);
|
||||
names.add(Messages.titleCase( mob.name ));
|
||||
if (mob != null) {
|
||||
objects.add(mob);
|
||||
names.add(Messages.titleCase( mob.name ));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user