Bugfixes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
exports.__esModule = true;
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
module.exports = function (ActionAPI) {
|
||||
ActionAPI.handle(function (properties, status) {
|
||||
var connectionID = properties.connectionID != undefined ? properties.connectionID : 'none';
|
||||
@@ -9,7 +9,7 @@ module.exports = function (ActionAPI) {
|
||||
if (connection) {
|
||||
var mtv = connection.instance;
|
||||
mtv.startGame(game).then(function () {
|
||||
})["catch"](function (error) {
|
||||
}).catch(function (error) {
|
||||
status(error, 'error');
|
||||
});
|
||||
}
|
||||
@@ -59,7 +59,7 @@ module.exports = function (ActionAPI) {
|
||||
values.push({ id: games[gameID].id, text: games[gameID].title });
|
||||
gameField.values = values;
|
||||
sendFields();
|
||||
})["catch"](function (error) {
|
||||
}).catch(function (error) {
|
||||
sendFields(true);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user