Merge branch 'develop' of ssh://git.mnml.gg:40022/~/mnml into develop
This commit is contained in:
commit
db1516bef6
@ -167,7 +167,7 @@ function registerEvents(store) {
|
|||||||
if (!code) return store.dispatch(actions.setInvite(null));
|
if (!code) return store.dispatch(actions.setInvite(null));
|
||||||
const link = `${document.location.origin}#join=${code}`;
|
const link = `${document.location.origin}#join=${code}`;
|
||||||
navigator.clipboard.writeText(link).then(() => {
|
navigator.clipboard.writeText(link).then(() => {
|
||||||
notify('Your invite code was copied to the clipboard.');
|
notify('Invite link copied to clipboard.');
|
||||||
}, () => {});
|
}, () => {});
|
||||||
|
|
||||||
return store.dispatch(actions.setInvite(code));
|
return store.dispatch(actions.setInvite(code));
|
||||||
|
|||||||
@ -97,6 +97,7 @@ function tutorialVbox(player, store, tutorial) {
|
|||||||
if (stage === 7) {
|
if (stage === 7) {
|
||||||
if (vbox.bits < 25) {
|
if (vbox.bits < 25) {
|
||||||
stage += 1;
|
stage += 1;
|
||||||
|
setTimeout(() => store.dispatch(actions.setTutorial(null)), 4000);
|
||||||
} else {
|
} else {
|
||||||
vbox.store.Colours = {};
|
vbox.store.Colours = {};
|
||||||
vbox.store.Skills = {};
|
vbox.store.Skills = {};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user