1
Fork 0
mirror of https://github.com/Steffo99/lihzahrd.git synced 2024-11-21 15:44:24 +00:00

Fix weird ordering bug in pypy3.

This commit is contained in:
Dale Floer 2020-06-02 10:28:41 -07:00
parent dfaf41df91
commit 34a09340de

View file

@ -821,7 +821,11 @@ class World:
unknown_town_manager_data = f.read_until(pointers.bestiary)
bestiary_kill_count = f.int4()
bestiary_kill_data = {f.string(): f.int4() for _ in range(bestiary_kill_count)}
bestiary_kill_data = {}
for _ in range(bestiary_kill_count):
beast = f.string()
beast_count = f.int4()
bestiary_kill_data[beast] = beast_count
bestiary_sighting_count = f.int4()
bestiary_sighting_data = [f.string() for _ in range(bestiary_sighting_count)]
bestiary_chat_count = f.int4()