Nexela / PickerExtended

MIT License
12 stars 16 forks source link

Broken startup settings usage #91

Closed Rseding91 closed 5 years ago

Rseding91 commented 6 years ago

https://github.com/Nexela/PickerExtended/blob/master/prototypes/notes.lua#L4 conditionally requires files using startup settings which is invalid and causes errors like this when used in multiplayer: https://media.discordapp.net/attachments/458687692855836722/476122968255365161/New_Bitmap_Image.jpg?width=897&height=468

Specifically: Do not conditionally 'require(...)' things: this breaks the crc checks and people will get errors trying to use your mod in multiplayer. 'require(...)' everything and then conditionally add the values to data.raw using the settings.

Nexela commented 5 years ago

Fixed my oopsie, Script was supposed to return after the requires since everything below it is just conditional extending.