Skip to content

Commit

Permalink
#59 changed lose money amount back to 100 000 Euros
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelEwinger committed Jun 17, 2022
1 parent d35b8bf commit 859983b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -630,8 +630,8 @@

loseMoneyButton.addEventListener("click", ()=>{
if(finalFieldStatus === true){
let amount = 500000;
displayMessage("Player: " + players[socket.id].playerIndex + " lose 500 000 Euros")
let amount = 100000;
displayMessage("Player: " + players[socket.id].playerIndex + " lose 100 000 Euros")
players[socket.id].money -= amount;

socket.emit('LOSE_MONEY', lobby, amount)
Expand Down

0 comments on commit 859983b

Please sign in to comment.