dofile_test.lua:
dofile("require_useing_file.lua")require_useing_file.lua:
require("things_i_want_to_require")
It works in normal lua just fine, but in CC it says require does not exist:
dofile_test.lua:1: attempt to call global 'require' (a nil value)
Is this a bug or why is it different from normal lua?
Edited by Jummit, 20 May 2018 - 12:43 PM.