Merge branch 'master' of ssh://cryps.gg:40022/~/cryps

This commit is contained in:
Mashy 2018-11-29 01:48:36 +10:00
commit 0dd96ae961
3 changed files with 4 additions and 3 deletions

View File

@ -12,7 +12,6 @@
"author": "",
"license": "UNLICENSED",
"dependencies": {
"@orange-games/phaser-input": "^2.0.5",
"async": "^2.6.1",
"borc": "^2.0.3",
"docco": "^0.7.0",

View File

@ -139,7 +139,7 @@ function registerEvents(registry, events) {
timeout: false,
// overlay: true,
drag: false,
close: false,
close: true,
title: 'SPAWN CRYP',
position: 'center',
inputs: [

View File

@ -29,7 +29,9 @@ function createSocket(events) {
});
events.loginPrompt();
send({ method: 'account_login', params: { name: 'ntr', password: 'grepgrepgrep' } });
if (!process.env.NODE_ENV === 'production') {
send({ method: 'account_login', params: { name: 'ntr', password: 'grepgrepgrep' } });
}
});
// Listen for messages