[Bug] Skin .lua
file can't load library when using gamedir
flag
#668
Labels
.lua
file can't load library when using gamedir
flag
#668
Describe the bug
When using
gamedir
flag and adding load path inlua
files, the load path is relative to the gamebin
folder, not thegamedir
To Reproduce
Steps to reproduce the behavior:
gamedir
flag, add skin toskins
folderlua
file fromskins/[skin-name]/...
even if the file existbin/skins
directory, the skin work normally.Expected behavior
The load path should be relative to
gamedir
Screenshots
Desktop (please complete the following information):
Additional context
I copy the files from
skins/HeavenlyExpress-1.3.0/textures/_shared/scripts
to the skin root folder to avoid the first error when loading skin.Log file
The text was updated successfully, but these errors were encountered: