When I try that, I get this error instead:
Code: Select all
Error: main.lua:1: attempt to index global 'wf' (a nil value)
stack traceback:
[string "boot.lua"]:637: in function '__index'
main.lua:1: in main chunk
[C]: in function 'require'
[string "boot.lua"]:475: in function <[string "boot.lua"]:311>
[C]: in function 'xpcall'
[string "boot.lua"]:645: in function <[string "boot.lua"]:639>
[C]: in function 'xpcall'
which is expected because 'wf' is not defined, and I bet everyone who tries it will get the same error as me, therefore nobody can possibly figure out why you are getting a different error other than the expected one.
If that is not your whole code, can you show your whole code so we can understand which of the virtually infinite possibilities can be causing the problem?