From 58bc83540a246dd760f4cf38fcd8509b05b11093 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Wed, 12 Dec 2018 01:42:29 +0100 Subject: [PATCH] Remove redundant / doubled code. --- client.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/client.py b/client.py index fb88c7e..cc0b05c 100755 --- a/client.py +++ b/client.py @@ -36,11 +36,6 @@ class Game: t.position = list(yx) cmd_THING_POS.argtypes = 'int:nonneg yx_tuple:nonneg' - def cmd_THING_POS(self, i, yx): - t = self.world.get_thing(i) - t.position = list(yx) - cmd_THING_POS.argtypes = 'int:nonneg yx_tuple:nonneg' - def cmd_MAP_SIZE(self, yx): """Set self.map_size to yx, redraw self.terrain_map as '?' cells.""" self.world.set_map_size(yx) -- 2.30.2