Lua error: if statements are weird in this damn launguage.