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

corrected chat init to allow for additional parameter. globalized gueue....

corrected chat init to allow for additional parameter. globalized gueue. enabled player turn notices.
parent 747a9ea6
No related branches found
No related tags found
No related merge requests found
function GameSession(game,join)
{
this.game=game;
this.queue=gamechat.queue;
this.queue=queue;
this.clearinput=true;
this.currentplayer;
this.shots;
......@@ -1276,7 +1276,7 @@ function GameData(gamefile)
var nextturn=this.FindPlayer(this.turn);
var unum=system.matchuser(nextturn.name);
var message="\1n\1gIt is your turn in \1c\1hSea\1n\1c-\1hBattle\1n\1g\1g game #\1h" + this.gamenumber + "\r\n\r\n";
//system.put_telegram(unum, message);
system.put_telegram(unum, message);
//TODO: make this handle interbbs games if possible
}
}
......
......@@ -69,7 +69,7 @@ function GameLobby()
var posx=42;
var posy=3;
var input_line={x:42,y:23,columns:38};
gamechat.Init("Sea-Battle Lobby",input_line,columns,rows,posx,posy,false,"\1y");
gamechat.Init("Sea-Battle Lobby",input_line,columns,rows,posx,posy,false,false,"\1y");
this.Redraw();
}
this.InitMenu=function()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment