diff --git a/client/assets/styles/styles.mobile.less b/client/assets/styles/styles.mobile.less index e8269bd2..be259075 100644 --- a/client/assets/styles/styles.mobile.less +++ b/client/assets/styles/styles.mobile.less @@ -123,4 +123,8 @@ padding: 0; } } + + .play-p { + display: none; + } } diff --git a/client/src/components/instance.ctrl.btns.jsx b/client/src/components/instance.ctrl.btns.jsx index d2acd10c..f1ca2be5 100644 --- a/client/src/components/instance.ctrl.btns.jsx +++ b/client/src/components/instance.ctrl.btns.jsx @@ -38,6 +38,15 @@ function InstanceCtrlBtns(args) { const finished = instance && instance.phase === 'Finished'; + // cheeky to make sure nubs don't just abandon their first game + const beingNub = instance.phase_end + && instance.phase === 'Lobby' + && Date.parse(instance.phase_end) - Date.now() < 2000; + + if (beingNub) { + sendReady(); + } + return (
Use the buttons on the right to join an instance.
+Use the buttons on the right to join an instance.
Select PVP to play against other players.
Select INVITE then click COPY LINK to generate an instance invitation for a friend.
diff --git a/server/src/instance.rs b/server/src/instance.rs
index 9cc55221..9731f879 100644
--- a/server/src/instance.rs
+++ b/server/src/instance.rs
@@ -530,13 +530,13 @@ pub fn instance_create(tx: &mut Transaction, instance: Instance) -> Result