modules/world: fix loading of baseworld in world2D

This commit is contained in:
Kazhnuz 2019-04-22 08:35:07 +02:00
parent 3ece29ef43
commit ceb28eb445

View file

@ -21,7 +21,7 @@
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
]] ]]
local cwd = (...):gsub('%.baseworld$', '') .. "." local cwd = (...):gsub('%.world2D$', '') .. "."
local BaseWorld = require(cwd .. "baseworld") local BaseWorld = require(cwd .. "baseworld")
local World2D = BaseWorld:extend() local World2D = BaseWorld:extend()