work in progress... worked on channel attributes and game goal. fixes #45 and references #48

This commit is contained in:
logsol 2014-03-30 00:12:04 +01:00
parent 039213cf50
commit 55256ada95
23 changed files with 409 additions and 110 deletions

View file

@ -185,6 +185,7 @@ function validateForJoin(nickname, channelName) {
}
function validateForCreate(channelName, maps) {
return true;
if(maps.length < 1) {
alert("Please choose at least one map.")
return false;
@ -243,9 +244,10 @@ function create(channelName, callback) {
var options = {
channelName: channelName,
maps: maps,
levelUids: maps,
maxUsers: 10,
minUsers: 2
minUsers: 2,
scoreLimit: 1
}
localStorage["customname"] = channelName;