nga-python: fix a bug in the dictionary population code
FossilOrigin-Name: b1ac26066a2e64aaa7d1b929b7993844d330a244183b8a39911b97596a3380e7
This commit is contained in:
parent
8eba61405d
commit
3b15924f71
1 changed files with 2 additions and 1 deletions
|
@ -114,7 +114,8 @@ class Retro:
|
|||
header = self.memory[2]
|
||||
while header != 0:
|
||||
named = self.extract_string(header + 3)
|
||||
Dictionary[named] = header
|
||||
if not named in Dictionary:
|
||||
Dictionary[named] = header
|
||||
header = self.memory[header]
|
||||
return Dictionary
|
||||
|
||||
|
|
Loading…
Reference in a new issue