Private
Public Access
1
0

add new sounds && refactor && new bg images && form redesigns

This commit is contained in:
2016-11-18 18:34:15 +01:00
parent 1e9bdbac3f
commit 0d2ac0fb33
25 changed files with 562 additions and 467 deletions

View File

@@ -40,9 +40,7 @@ class MineSeeker extends React.Component {
websocket.on("socket/connect", (session) => {
console.info("Successfully connected to the Server!");
if (!this.state.gameInherited) {
var gridClient = new Grid().state.grid;
}
var gridClient = this.state.gameInherited || new Grid().state.grid;
/**
* Connect - RPC
@@ -65,7 +63,7 @@ class MineSeeker extends React.Component {
session: this.state.session,
channel: this.state.channel,
overlay: true,
overlayTitle: "We are waiting for your opponent bazmeg...",
overlayTitle: "We are waiting for your opponent...",
overlaySubTitle: this.state.gameAssoc
? <a href={"/play/" + this.state.gameAssoc} target="_blank">Play w/ me!</a>
: ''