From 6ced968d0679cd60b616aad3f601c6b61883d006 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Tue, 28 Jan 2014 04:12:07 +0000 Subject: [PATCH] Replacing the constructor with the constructed object is clearly not the best idea. --- xtrn/mc/mc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xtrn/mc/mc.js b/xtrn/mc/mc.js index a0154ac37b..87bacf30c9 100644 --- a/xtrn/mc/mc.js +++ b/xtrn/mc/mc.js @@ -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; -- GitLab