Skip to content

Commit

Permalink
swapped an illegal break with a return
Browse files Browse the repository at this point in the history
  • Loading branch information
AxolotlIsSickOfThisShit authored Sep 30, 2024
1 parent 5b2103d commit d297fa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/game.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ const cmd = {
talk:(target)=>{
if (save.inbattle!=0){
console.log("Sorry, battles are not fully implemented yet!");
break;
return;
} else {
if (save.currentLocation.npc[target]) {
appendOutput("What would you like to say? (Please type the number corresponding to the question.");
Expand Down

0 comments on commit d297fa4

Please sign in to comment.