Merge branch 'release/1.6.1'

This commit is contained in:
ntr 2019-10-20 17:06:50 +11:00
commit f398b6c925
9 changed files with 25 additions and 17 deletions

View File

@ -1 +1 @@
1.6.0
1.6.1

View File

@ -1,6 +1,6 @@
{
"name": "mnml-client",
"version": "1.6.0",
"version": "1.6.1",
"description": "",
"main": "index.js",
"scripts": {

View File

@ -144,6 +144,12 @@ aside {
}
}
.play-ctrl {
.controls {
grid-template-rows: 1fr 1fr 1fr 3fr 1fr;
}
}
.abandon:not([disabled]) {
&:hover {
color: @red;

View File

@ -1,6 +1,6 @@
{
"name": "mnml-client",
"version": "1.6.0",
"version": "1.6.1",
"description": "",
"main": "index.js",
"scripts": {

View File

@ -130,8 +130,6 @@ function JoinButtons(args) {
<aside class='play-ctrl'>
<div class="timer-container"></div>
<div class="controls">
{discordBtn}
<div class="flex">
<button
class='practice ready'
onClick={() => sendInstancePractice()}
@ -139,7 +137,7 @@ function JoinButtons(args) {
Learn
</button>
{inviteBtn()}
</div>
{discordBtn}
<AccountBox />
<div class="instance-ctrl-btns">
<button disabled={true} >Chat</button>

View File

@ -93,18 +93,18 @@ function Play(args) {
return (
<section class="top">
<div class="news">
<h1>v{VERSION}</h1>
<h2>v{VERSION}</h2>
<p class="play-p">Use the buttons on the right to join an instance.</p>
<p>
Select <b>PVP</b> to play against other players.<br />
Select <b>INVITE</b> then click <b>COPY LINK</b> to generate an instance invitation for a friend.<br />
Click <b>LEARN</b> to practice the game without time controls.
</p>
<p>Join our Discord server to find opponents, message @ntr or @mashy for some credits to get started.</p>
<p>
If you enjoy the game please support its development by <b>subscribing</b> or purchasing <b>credits</b>.<br />
glhf
</p>
<p>--ntr & mashy</p>
</div>
<div>
<h1 class="credits">¤ {account.balance}</h1>

View File

@ -30,7 +30,11 @@ function createSocket(events) {
// -------------
function send(msg) {
if (msg[0] !== 'Ping') console.log('outgoing msg', msg);
try {
ws.send(cbor.encode(msg));
} catch (e) {
console.warn(e);
}
}
let ping;

View File

@ -1,6 +1,6 @@
{
"name": "mnml-ops",
"version": "1.6.0",
"version": "1.6.1",
"description": "",
"main": "index.js",
"scripts": {

View File

@ -1,6 +1,6 @@
[package]
name = "mnml"
version = "1.6.0"
version = "1.6.1"
authors = ["ntr <ntr@smokestack.io>"]
[dependencies]