wiremod / wire

Garry's Mod add-on that allows users to wire up components in order to make more elaborate automatic and user-controlled contraptions.
http://www.wiremod.com
Apache License 2.0
549 stars 333 forks source link

Stricter sentSpawn #3129

Closed deltamolfar closed 1 week ago

deltamolfar commented 3 weeks ago

I've changed my mind regarding should sentSpawn throw a soft exception if invalid parameter is passed (it already made me waste quite some time debugging to only find out I've misspelled a param name, or passed an array instead of table).

It does breaks backward compability a bit on, as now E2 will stop sentSpawn from going further, if wrong parameter name is being passed, but I think I should've done that in a first place (also I doubt it will break a lot or big projects, as I doubt people leave wrong parameters for fun)