Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ContractorMod.xml file issue when mods directory is not default one #66

Open
yumi-modding opened this issue Jun 18, 2019 · 0 comments
Open

Comments

@yumi-modding
Copy link
Owner

When following option is used in gameSettings file:

<modsDirectoryOverride active="true" directory="E:/mods19"/>

Following code won't be able to copy ContractorMod.xml file to the right directory since path ../../ is impossible in this case. We should always refers to modsSettings in farmingSimulator2019 dir.

local xmlFilePath = ContractorMod.myCurrentModDirectory .. "../../modsSettings/ContractorMod.xml"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant