From: Christian Heller Date: Fri, 11 Dec 2020 01:53:02 +0000 (+0100) Subject: In web client, don't carry oneself. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/decks?a=commitdiff_plain;h=70e08d71ec6e87f9a700f0227fbcf79437fc5511;p=plomrogue2 In web client, don't carry oneself. --- 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;