Skip to content
Snippets Groups Projects
Commit 11ad17e0 authored by MJ's avatar MJ
Browse files

reverse the logic in my previous commit :| also dont show the next turn alert...

reverse the logic in my previous commit :| also dont show the next turn alert if hidden_names == true
parent 5fe2127e
No related branches found
No related tags found
No related merge requests found
......@@ -1142,7 +1142,7 @@ function playGame(gameNumber) {
msgAlert("\1c\1hIt is your turn");
menu.draw();
}
else {
else if(!game.hidden_names) {
msgAlert("\1n\1cIt is " + game.players[game.turn].name + "'s turn");
}
}
......@@ -1319,10 +1319,10 @@ function playGame(gameNumber) {
listFrame.gotoxy(1,p+1);
listFrame.putmsg("\xDE",BG_BLACK|fg);
if(game.hidden_names) {
listFrame.putmsg(printPadded(plyr.name,16),bg|txt);
listFrame.putmsg(printPadded("<hidden>",16),bg|txt);
}
else {
listFrame.putmsg(printPadded("<hidden>",16),bg|txt);
listFrame.putmsg(printPadded(plyr.name,16),bg|txt);
}
listFrame.putmsg("\xDD",BG_BLACK|fg);
......
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