Browse Source

more precise death location

Lambda 7 years ago
parent
commit
f6cbf38327
3 changed files with 11 additions and 2 deletions
  1. 8 0
      config.json
  2. 1 1
      index.js
  3. 2 1
      manifest.json

+ 8 - 0
config.json

@@ -0,0 +1,8 @@
+{
+    "version": 1,
+    "data": {
+        "enabled": true,
+        "party": false,
+        "drama": false
+    }
+}

+ 1 - 1
index.js

@@ -34,7 +34,7 @@ module.exports = function Instant_revive(mod) {
 			if(!alive)
 			{
 				isDead[gameId] = true;
-				moveBody(gameId, loc); // doesn't help at all I think
+				setTimeout(moveBody, 299, gameId, loc); // not sure if helps at all
 				if(mod.settings.drama)
 				{
 					setTimeout(fakeDeath, 300, gameId, loc, 0);

+ 2 - 1
manifest.json

@@ -1,7 +1,8 @@
 {
 	"files": {
 		"README.md": "bcd84495d10e10cf31f8ba6780416243530267874917697bb2f1b782088dca7b",
-		"index.js": "6f5e5d6868d6a62f5d76c3e39bc33a62952709f1ad68a04afe172ac5a4916be2",
+		"config.json": "a45dd90a9bf176b29ca528f1f10caf345f26465272b5c6658f824afea06e4e0c",
+		"index.js": "fab9a0ea1cc05092b0fa4407be52197509139c5f83afe8ac9562fbf7789aa525",
 		"module.json": "ed003376acf3807b44a08b852397cc948e65574aaec9f9b891c2585fd35edc97",
 		"settings_migrator.js": "f97c5a0de378cdb754a0eede1ad14176d6cd6fc28013b6bc48063a6a80e48ec1"
 	},