Bug - Fixed Debug log at Wumpus

Darzil

Developer
Am getting a debug log on clicking Enter Cavern at Wumpus. Haven't got time to debug tonight, but have put on debug to visit it, and attached.

Edit - actually probably simple.
WumpusManager.dynamicChoiceOptions returns return new String[ 0 ]; when there is no current Wumpus Hunt, so when you enter a new one.
ChoiceManager.dynamicChoiceSpoilers returns that new String[0] to ChoiceManager.choiceSpoilers, and then back to ChoiceManager.registerRequest which sets object array spoilers equal to it. As spoilers isn't null, it then attempts to pass spoilers[2] to ChoiceManager.choiceSpoiler and fails.

I guess maybe Wumpus Manager should just return null instead of String[ 0 ] ?
 

Attachments

  • DEBUG_20140129.txt
    140.5 KB · Views: 29
Last edited:
Top