Loading

Paste #pavp9yoku

  1. diff --git a/nml/actions/action0properties.py b/nml/actions/action0properties.py
  2. index 8779e3f..3cf251f 100644
  3. --- a/nml/actions/action0properties.py
  4. +++ b/nml/actions/action0properties.py
  5. @@ -751,7 +751,7 @@ def industry_prod_multiplier(value):
  6.              props.append(Action0Property(0x12 + i, val, 1))
  7.          return props
  8.      else:
  9. -        return [ByteListProp(0x27, [value.values])]
  10. +        return [ByteListProp(0x27, [[i.reduce_constant().value for i in value.values]])]
  11.  
  12.  class RandomSoundsProp(BaseAction0Property):
  13.      def __init__(self, sound_list):

Comments