Changed riddler execution

This commit is contained in:
Luca Carnegie
2019-05-29 23:17:29 -04:00
parent d052273a99
commit 2fd7b3ed6f
5 changed files with 6 additions and 4 deletions

View File

@@ -385,6 +385,8 @@ class Game {
if(player.addToInventory(prize)) {
player.addToInventory(prize);
System.out.println("A " + prizeName + " has been added to your inventory.");
currentRoom.riddler = null;
System.out.println("I've got to go find Mr. Pellatt now. Good luck with your escape!");
}else {
System.out.println("Sorry, you can't carry any more ");
}