Closed ColonelThirtyTwo closed 11 years ago
I think this may let the code work with garry's require replacement. IE instead of doing include("starfall/whatever") and worrying about whether the file has been included multiple times, we can do require("starfall/whatever") and be done with it.
require
include("starfall/whatever")
require("starfall/whatever")
Unless garry wrote out packages.loaded too...
packages.loaded
Yup, require doesn't return anything... Sigh, garry.
I think this may let the code work with garry's
require
replacement. IE instead of doinginclude("starfall/whatever")
and worrying about whether the file has been included multiple times, we can dorequire("starfall/whatever")
and be done with it.Unless garry wrote out
packages.loaded
too...