[0.14.3] [rrrola] LUA Packages of scenario arent copied into save.
Posted: Sun Sep 04, 2016 5:14 pm
It seems like in scenario only the files in root directory and the locales directory are getting copied and this prevents the usage of lua packages.
how to reproduce?
make a file like mypackage/file.lua in scenario and try to require "mypackage.file" and it will fail because the mypackage directory is not in save file.
doing it with any lua file in root directory of scenario works so having file.lua in root directory and doing require "file" works fine.
how to reproduce?
make a file like mypackage/file.lua in scenario and try to require "mypackage.file" and it will fail because the mypackage directory is not in save file.
doing it with any lua file in root directory of scenario works so having file.lua in root directory and doing require "file" works fine.