Closed el-garro closed 5 months ago
Fixed get_code_properties to accept tuples of any size in the props parameter, instead of only 2. Examples (found in real games):
[('linear', '0.5'), ('alpha', '1.0', None)] [('zoom', '2', None)]
Also ignoring None on any position to make it congruent with the function docstring, because the second usage example implies a (None, "b") should return "b" and the current implementation returns "None b".
nice, thank you
Fixed get_code_properties to accept tuples of any size in the props parameter, instead of only 2. Examples (found in real games):
Also ignoring None on any position to make it congruent with the function docstring, because the second usage example implies a (None, "b") should return "b" and the current implementation returns "None b".