Мясорубка - турнир
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
@@ -13,6 +13,7 @@
|
||||
"2p_blood_river": "Blood River (2)",
|
||||
"2p_blood_river_remix": "Blood River Remix (2)",
|
||||
"2p_antiga_bay":"Antiga Bay (2)",
|
||||
"2p_terror_psyclaw":"Terror Psyclaw (2)",
|
||||
"2p_outer_reaches": "Outer Reaches (2)",
|
||||
"2p_moonbase": "Moonbase (2)",
|
||||
"2p_deadly_fun_archeology": "Deadly Fun Archeology (2)",
|
||||
@@ -51,6 +52,7 @@
|
||||
"2p_short_below_zero": "Short Below Zero (2)",
|
||||
"2p_fata_morgana": "Fata Morga (2)",
|
||||
"2p_fallen_city": "Fallen City (2)",
|
||||
"2p_fallen_city_[Rem]": "Fallen City [Rem] (2)",
|
||||
"2p_velvet_duress": "Velvet Duress (2)",
|
||||
"2p_fraziersdemise": "Fraziers Demise (2)",
|
||||
"2p_vortex_plateau": "Vortex Plateau (2)",
|
||||
|
||||
@@ -103,7 +103,7 @@ window.onload = function() {
|
||||
|
||||
if($.cookie('user')=== undefined){
|
||||
var result = prompt("Enter nickname: ", );
|
||||
$.cookie('user', result, { expires: 7 });
|
||||
$.cookie('user', result, { expires: 1337 });
|
||||
userName = result;
|
||||
}else{
|
||||
userName = $.cookie('user');
|
||||
@@ -268,6 +268,7 @@ function renderPlayersAndStats(lobby) {
|
||||
var lobbyTypeText = "";
|
||||
var last3Selected = "";
|
||||
var last4Selected = "";
|
||||
var last5Selected = "";
|
||||
var looserPickSelected = "";
|
||||
switch (lobby.selectedType) {
|
||||
case "Last3()":
|
||||
@@ -278,9 +279,13 @@ function renderPlayersAndStats(lobby) {
|
||||
last4Selected = "selected";
|
||||
lobbyTypeText = "Play on last 4 maps";
|
||||
break;
|
||||
case "Last5()":
|
||||
last5Selected = "selected";
|
||||
lobbyTypeText = "Play on last 5 maps";
|
||||
break;
|
||||
case "LooserPick()":
|
||||
looserPickSelected = "selected";
|
||||
lobbyTypeText = "Decide first, then looserpick";
|
||||
lobbyTypeText = "Play on last map";
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -304,9 +309,8 @@ function renderPlayersAndStats(lobby) {
|
||||
disabledText = "disabled";
|
||||
}
|
||||
resHtml += "<br/><select class=\"form-control\" id = 'deciderOption' onChange='changeLobbyType()' "+disabledText+" >" +
|
||||
/*"<option "+last3Selected+" value = 'last3'>Play on last 3 maps</option>" +
|
||||
"<option "+last4Selected+" value = 'last4'>Play on last 4 maps</option>" +*/
|
||||
"<option "+looserPickSelected+" value = 'looserpick'>Decide first, then looserpick</option>" +
|
||||
"<option "+last3Selected+" value = 'last3'>Play on last 3 maps (BO3)</option>" +
|
||||
"<option "+last5Selected+" value = 'last5'>Play on last 5 maps (BO5)</option>" +
|
||||
"</select>"
|
||||
resHtml += "</div>";
|
||||
break;
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user