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

Fixed bug in NPC parsing.

This commit is contained in:
Dale Floer 2020-05-31 00:01:24 -07:00
parent a7827e2e8e
commit 7f57bb80cf

View file

@ -689,7 +689,7 @@ class World:
npc_home = None
npc_flags = f.bits()
npc_variation_index = 0 if npc_flags[0] else f.int4()
npc_variation_index = f.int4() if npc_flags[0] else 0
npc = NPC(type_=npc_type,
name=npc_name,