if (!!g.myColor) g.priority++;
if (!!g.myTurn) g.priority++;
}
- // TODO: remove patch soon
- if (!g.options) g.options = {}
});
const deltaCreated = maxCreated - minCreated;
return remGames.sort((g1, g2) => {
},
deleteGame: function(game, e) {
if (
+ // Import ?
+ (typeof game.id == "string" && game.id.charAt(0) == 'i') ||
// My game ?
game.players.some(p =>
p.sid == this.st.user.sid || p.id == this.st.user.id