fix bug with rResName generation

This commit is contained in:
Kelvin Sherlock 2020-08-02 17:26:37 -04:00
parent 39eb93fa20
commit b5f27c5478

View File

@ -293,7 +293,7 @@ class rResName(rObject):
name = str_to_bytes(x._name) name = str_to_bytes(x._name)
id = x.get_id() id = x.get_id()
bb += struct.pack("<IB", id, len(name)) bb += struct.pack("<IB", id, len(name))
bb + str_to_bytes(name) bb += str_to_bytes(name)
return bb return bb