Skip to content
Snippets Groups Projects
Commit d59ecc6a authored by mcmlxxix's avatar mcmlxxix
Browse files

fixed variable scope

parent a4901a3c
Branches
Tags
No related merge requests found
......@@ -6,7 +6,7 @@
if there are duplicate command names, they will be superseded in the order
in which they are loaded (in the order they are listed in ircbot.ini).
*/
working_dir=this.dir;
var working_dir=this.dir;
/* This method is executed by the IRCBot during its "save_everything()" cycle */
function save()
......
poker_dir=this.dir;
poker_scores=[];
notice_interval=10; //seconds
activity_timeout=120;
poker_games=[];
var poker_dir=this.dir;
var poker_scores=[];
var notice_interval=10; //seconds
var activity_timeout=120;
var poker_games=[];
// Game functions
function save()
......@@ -61,7 +61,7 @@ function Poker_Game()
function Poker_Player()
{
this.cards=[];
this.money=100;
this.money=1000;
this.bet=0;
this.has_bet=false;
this.active=true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment