Skip to content
Permalink
Browse files

Add allowed objects tab.

  • Loading branch information...
roncli committed Jul 4, 2015
1 parent 3dcfc57 commit 772a6aa711951fb405d056690d42e4f7c99b6a3d
Showing with 636 additions and 1 deletion.
  1. +1 −1 package.json
  2. +4 −0 public/js/ddsn.js
  3. +630 −0 public/templates/add-server-allowed.htm
  4. +1 −0 websocket.js
@@ -19,7 +19,7 @@
},
"dependencies": {
"descent3console": "0.1.2",
"descent3launcher": "0.1.2",
"descent3launcher": "0.1.3",
"descent3mn3tools": "0.1.1",
"express": "4.13.0",
"handlebars": "3.0.3",
@@ -350,6 +350,10 @@ var app = angular.module("ddsn", []),
data.settings.addServer.game.audioTauntDelayValid = data.settings.addServer.game.audioTauntDelay === null || (typeof data.settings.addServer.game.audioTauntDelay === "number" && data.settings.addServer.game.audioTauntDelay >= 1 && data.settings.addServer.game.audioTauntDelay % 1 === 0);
};

$scope.updateAddServerAllowedShips = function() {
data.settings.addServer.allowed.shipsValid = data.settings.addServer.allowed.ships.blackpyro || data.settings.addServer.allowed.ships.magnumaht || data.settings.addServer.allowed.ships.phoenix || data.settings.addServer.allowed.ships.pyrogl;
};

$scope.updateSettingsDescent3Path = function() {
ws.send(JSON.stringify({
message: "settings.descent3.path",

0 comments on commit 772a6aa

Please sign in to comment.
You can’t perform that action at this time.