mirror of
https://github.com/Steffo99/lihzahrd.git
synced 2024-11-21 15:44:24 +00:00
Fixed bug in NPC parsing.
This commit is contained in:
parent
e4d06c2e55
commit
257623e09a
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue