Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
egiday committed May 10, 2023
1 parent cfafb7a commit b640361
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ <h2>Last Played: <span id="last-played-game">None</span></h2>
<div class="game-description">
In Money Tycoon, build your empire by earning money through clicking, investing in businesses, and increasing your passive income. Unlock achievements and prestige to multiply your earnings!
</div>
<button onclick="loadMoneyPaintingGame()">Painting Game</button>
<button onclick="loadPaintingGame()">Painting Game</button>
<div class="game-description">
In Painting Game, paint the canvas by dragging your mouse across the screen. Its simple really, but you can create some pretty cool art!
</div>
Expand All @@ -93,7 +93,7 @@ <h2>Last Played: <span id="last-played-game">None</span></h2>
window.location.href = "Money Tycoon Game/MoneyTycoonGame.html";
}

function loadMoneyPaintingGame() {
function loadPaintingGame() {
localStorage.setItem("lastPlayed", "Painting Game");
window.location.href = "Painting Game/PaintingGame.html";
}
Expand Down

0 comments on commit b640361

Please sign in to comment.