"Z" key throws an exception if pressed at a location without a monster
ScottLilly opened this issue · 1 comments
ScottLilly commented
The Z key will throw an exception if pressed in the absence of a monster, so I have slightly amended the code at line 250 – 253 of GameSession.cs to:
public void AttackCurrentMonster()
{
if (CurrentMonster == null || CurrentLocation.GetMonster() == null)
{
RaiseMessage(“No monsters to attack here!”);
return;
}
BanalityOfSeeking commented
This issue sounds closed?