use the lwid

which overrides the lzid
This commit is contained in:
Aaron Kimbre 2022-02-20 08:18:18 -06:00
parent 76c862a2ba
commit 78ab5b93bb

View File

@ -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()