From 78ab5b93bb82189d35ec94b7076ec2152f41feea Mon Sep 17 00:00:00 2001 From: Aaron Kimbre Date: Sun, 20 Feb 2022 08:18:18 -0600 Subject: [PATCH] use the lwid which overrides the lzid --- app/characters.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/characters.py b/app/characters.py index 8f8b91a..5d486dd 100644 --- a/app/characters.py +++ b/app/characters.py @@ -196,8 +196,7 @@ def rescue(id): char.attrib["lzx"] = new_zone.attrib["x"] char.attrib["lzy"] = new_zone.attrib["y"] char.attrib["lzz"] = new_zone.attrib["z"] - char.attrib["lzid"] = form.save_world.data - print(form.save_world.data) + char.attrib["lwid"] = form.save_world.data character_data.xml_data = ET.tostring(character_xml) character_data.save()