Comparing version 0.1.12 to 0.1.13
{ | ||
"name": "cheshire", | ||
"version": "0.1.12", | ||
"version": "0.1.13", | ||
"description": "Turn based boardgame framework based on websocket", | ||
@@ -5,0 +5,0 @@ "main": "server/Cheshire.js", |
@@ -72,3 +72,3 @@ var Storage = require('./data'); | ||
console.log('Cheshire user attempt to start a game in the room - ' + JSON.stringify(self.room)); | ||
if (self.room && self.room.isMaster(self)) { | ||
if (self.room && self.room.isMaster(self.name)) { | ||
console.log('Cheshire starting game') | ||
@@ -75,0 +75,0 @@ return self.room.startGame(); |
Sorry, the diff of this file is not supported yet
47333