home · contact · privacy
Fix empty portal/annotation lists counting as None, erronously triggering thing data...
[plomrogue2] / rogue_chat.html
index 3536d15a0013f12f4c13618fcc6a598cf956dd9d..3f281579afa8e5dcf0edcaedcc00aad23994303d 100644 (file)
@@ -484,7 +484,7 @@ let server = {
         if (tokens[0] === 'TURN') {
             game.turn_complete = false;
             game.turn = parseInt(tokens[1]);
-        } else if (tokens[0] === 'PSEUDO_FOV_WIPE') {
+        } else if (tokens[0] === 'OTHER_WIPE') {
             game.portals_new = {};
             explorer.annotations_new = {};
             game.things_new = [];
@@ -1784,7 +1784,7 @@ document.getElementById("consume").onclick = function() {
     server.send(['TASK:INTOXICATE']);
 };
 document.getElementById("install").onclick = function() {
-    server.send(['TASK:INSTALL']);
+    server.send(['TASK:INSTALL', tui.password]);
 };
 document.getElementById("wear").onclick = function() {
     server.send(['TASK:WEAR']);