home · contact · privacy
Fix arg order for passwords.
[plomrogue2] / rogue_chat_nocanvas_monochrome.html
index 28d3773b0898b2866cb9c9a7a5a34f1d7e5f730c..085c8a298646b4c9fbfc4cdee330b6c170896c86 100644 (file)
@@ -709,13 +709,13 @@ let explorer = {
         if (msg.length == 0) {
             msg = " ";  // triggers annotation deletion
         }
-        server.send(["ANNOTATE", tui.password, unparser.to_yx(explorer.position), msg]);
+        server.send(["ANNOTATE", unparser.to_yx(explorer.position), msg, tui.password]);
     },
     set_portal: function(msg) {
         if (msg.length == 0) {
             msg = " ";  // triggers portal deletion
         }
-        server.send(["PORTAL", tui.password, unparser.to_yx(explorer.position), msg]);
+        server.send(["PORTAL", unparser.to_yx(explorer.position), msg, tui.password]);
     }
 }