SOSCSRPG icon indicating copy to clipboard operation
SOSCSRPG copied to clipboard

"Z" key throws an exception if pressed at a location without a monster

Open ScottLilly opened this issue 6 years ago • 1 comments

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; }

ScottLilly avatar Dec 03 '20 01:12 ScottLilly

This issue sounds closed?

BanalityOfSeeking avatar Mar 16 '21 14:03 BanalityOfSeeking