Skip to content
Snippets Groups Projects
Commit 6ced968d authored by deuce's avatar deuce
Browse files

Replacing the constructor with the constructed object is clearly not the best idea.

parent f58c7c8f
Branches
Tags
No related merge requests found
......@@ -118,7 +118,7 @@ load(game_dir+"twenty1.js");
var roulette=new Roulette();
var slots=new Slots();
var baccarat=new Baccarat();
var Twenty1=new Twenty1();
var twenty1=new Twenty1();
function create_player()
{
......@@ -516,7 +516,7 @@ function mc_main()
if(check_played(3)) {
twenty=true;
player.played_twenty1++;
Twenty1.play();
twenty1.play();
twenty=false;
}
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment