Skip to content

Commit

Permalink
Fix bug where player doesn't pay to leave jail
Browse files Browse the repository at this point in the history
Fixes #27
  • Loading branch information
intrepidcoder committed Jan 1, 2020
1 parent 26f5f63 commit 43e9d48
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,4 +1,4 @@
Copyright 2013-2018 Daniel Moyer
Copyright 2013-2020 Daniel Moyer

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
1 change: 0 additions & 1 deletion monopoly.js
Expand Up @@ -2495,7 +2495,6 @@ function roll() {

if (p.human) {
popup("<p>You must pay the $50 fine.</p>", function() {
payFifty();
payfifty();
player[turn].position=10 + die1 + die2;
land();
Expand Down

0 comments on commit 43e9d48

Please sign in to comment.