Closed Cyanox62 closed 5 years ago
It works for me without issue on 3.4.1, could you test in that version just so I know if it's an smod or scpdiscord issue?
On my Windows PC running Smod 3.4.1 they still return the same file path regardless of the parameter.
Very strange, that returns the local one for me.
In any case, as you have investigated yourself above this does appear to be an smod issue as the function above is returning the wrong path. Could you repost this issue over on the smod repo instead?
Actually, check your MA config, I think there is a config option there to force the server to only use the global folder, might be you have that on.
Describe the bug Regardless of the config
scpdiscord_config_global
being true of false, the plugin uses the global config directory. I looked in the code to see that this config was only used inFileManager.GetAppFolder(scpdiscord_config_global)
, so I made a test plugin with that parameter set to both true and false. Both lines gave me the same file path, as shown in the attached screenshots. This leads me to believe the config option is getting changed, but the change doesn't seen to affect what file path is gotten. The issue is apparent on both my Arch Linux server and my Windows 10 PC.Screenshots
Setup