Bugfix wrong directory for plugins

This commit is contained in:
Alessandro Proto 2023-07-28 18:15:30 +02:00
parent 3326d0e73d
commit 990b30b7bb

View file

@ -261,7 +261,7 @@ public class Capy64 : Game
NativePlugins = GetNativePlugins();
var safeMode = Configuration.GetValue("SafeMode", false);
if (!safeMode)
Plugins = PluginLoader.LoadAllPlugins(Path.Combine(AssetsPath, "plugins"));
Plugins = PluginLoader.LoadAllPlugins(Path.Combine(AppDataPath, "plugins"));
EventEmitter.RaiseInit();