SoundPrototype docs wrong
SoundPrototype docs wrong
I found that the type of the SoundPrototype's variations property has its type wrongly defined. It is defined as array[SoundDefinition] while it apperently is PtreeItemOrArrayIterator.
Re: SoundPrototype docs wrong
Proposed version makes no sense. It is a helper for handling $union(X, $array(X)) but PreeItemOrArrayIterator is not a lua concrpt that can be exposed.
Re: SoundPrototype docs wrong
Request was understood anyway. Doc fixed to be "SoundDefinition or array[SoundDefinition]" for the next doc release, thank you for making the post.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.