Compare commits
2
Commits
59dd7c793a
...
529e8338d6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
529e8338d6 | ||
|
|
9d77c948e2 |
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "schat2-clive",
|
"name": "schat2-clive",
|
||||||
"version": "1.30.8",
|
"version": "1.30.9",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "schat2-clive",
|
"name": "schat2-clive",
|
||||||
"version": "1.30.8",
|
"version": "1.30.9",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"better-sqlite3": "^8.3.0",
|
"better-sqlite3": "^8.3.0",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "schat2-clive",
|
"name": "schat2-clive",
|
||||||
"version": "1.30.8",
|
"version": "1.30.9",
|
||||||
"description": "Game host for SChat 2-powered chat sites",
|
"description": "Game host for SChat 2-powered chat sites",
|
||||||
"main": "src/app.js",
|
"main": "src/app.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -56,6 +56,11 @@ function onCommand(args, context) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!duck) {
|
||||||
|
// unrecognized command
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const hit = Math.random() > config.duck.missRatio;
|
const hit = Math.random() > config.duck.missRatio;
|
||||||
const time = new Date().getTime() - duck.getTime();
|
const time = new Date().getTime() - duck.getTime();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user