Fixed a Lua error

I'm an idiot, sorry