From 70e08d71ec6e87f9a700f0227fbcf79437fc5511 Mon Sep 17 00:00:00 2001 From: Christian Heller <c.heller@plomlompom.de> Date: Fri, 11 Dec 2020 02:53:02 +0100 Subject: [PATCH] In web client, don't carry oneself. --- rogue_chat.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rogue_chat.html b/rogue_chat.html index 3a63619..1f690c0 100644 --- a/rogue_chat.html +++ b/rogue_chat.html @@ -513,7 +513,7 @@ let server = { game.thing_types[tokens[1]] = tokens[2] } else if (tokens[0] === 'THING_CARRYING') { let t = game.get_thing(tokens[1], false); - t.carrying = t = game.get_thing(tokens[2], false); + t.carrying = game.get_thing(tokens[2], false); } else if (tokens[0] === 'THING_INSTALLED') { let t = game.get_thing(tokens[1], false); t.installed = true; -- 2.30.2