default.node_sound_*_defaults are functions, not tables. So add ()
Closed this issue · 2 comments
wziard commented
When I click a mob from mobs_redo with any object from cottages, I get a crash.
This is because default.node_sound_*_defaults are functions, not tables. But they are not called, but copied. Making sounds a function instead of a table.
Patch attached.
[snip] garbled patch deleted
wziard commented
Oh, that patch didn't survive my chain of copy-pasting to get it from my vps to github :-)
patch attached.
Sokomine commented
Thank you for noticing that bug! It ought to be fixed in the newest version.
The sounds need some special care as some games (i.e. MC2) do not provide a suitable default mod.