Skip to content

Commit

Permalink
resets health when menu button is pushed
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherbergstrom authored May 31, 2018
1 parent 025638a commit a8854b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/Fight.js
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ class Fight
$("body").prepend("<button id='mainMenuBtn'>M</button>");
$("#mainMenuBtn").click(function()
{
resetHealth();
console.log(player);
var city = new City();
city.returnToCity(player);
Expand Down

0 comments on commit a8854b9

Please sign in to comment.