What happens on invalid LuaRemote::call?

Post Reply
curiosity
Filter Inserter
Filter Inserter
Posts: 407
Joined: Wed Sep 11, 2019 4:13 pm
Contact:

What happens on invalid LuaRemote::call?

Post by curiosity »

What if you pass it a nonexistent interface name? Does it error or return nil, or maybe do something else? What about a nonexistent function name?

Bilka
Factorio Staff
Factorio Staff
Posts: 3232
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: What happens on invalid LuaRemote::call?

Post by Bilka »

Both cases error, added to the docs for the next doc release.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

Post Reply

Return to “Resolved Requests”