home · contact · privacy
In web client, don't carry oneself.
authorChristian Heller <c.heller@plomlompom.de>
Fri, 11 Dec 2020 01:53:02 +0000 (02:53 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Fri, 11 Dec 2020 01:53:02 +0000 (02:53 +0100)
rogue_chat.html

index 3a636198a9bd69e888bbcad4607ce26f214f5129..1f690c0d832bd3f27df8661d3f324ad1b5ea27c9 100644 (file)
@@ -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;