From 52d817ad91bfec1fa892b56ac165b75bfb136bbc Mon Sep 17 00:00:00 2001 From: Simon Cross Date: Sat, 5 Mar 2016 21:04:59 +0200 Subject: [PATCH] game_pos should be a tuple. --- koperkapel/gamelib/items.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koperkapel/gamelib/items.py b/koperkapel/gamelib/items.py index b125d44..9ef2ff6 100644 --- a/koperkapel/gamelib/items.py +++ b/koperkapel/gamelib/items.py @@ -22,7 +22,7 @@ ITEM_TYPES = { def get_item(item): item_type = item.pop("type") - game_pos = item.pop("pos") + game_pos = tuple(item.pop("pos")) actor = ITEM_TYPES[item_type](item) actor.game_pos = game_pos actor.anchor = (0, 0) -- 2.34.1