From de69d68aa0787482f98b0e7a2fedc2e09f5a1464 Mon Sep 17 00:00:00 2001 From: redxef Date: Sun, 27 Oct 2024 00:52:43 +0200 Subject: [PATCH] fix: overwriting env entries is now possible. --- Jellyfin.Plugin.SmartPlaylist/Lisp/Interpreter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jellyfin.Plugin.SmartPlaylist/Lisp/Interpreter.cs b/Jellyfin.Plugin.SmartPlaylist/Lisp/Interpreter.cs index 76d0fbf..e72a4bd 100644 --- a/Jellyfin.Plugin.SmartPlaylist/Lisp/Interpreter.cs +++ b/Jellyfin.Plugin.SmartPlaylist/Lisp/Interpreter.cs @@ -65,7 +65,7 @@ namespace Jellyfin.Plugin.SmartPlaylist.Lisp { return null; } public void Set(string k, Expression v) { - Add(k, v); + this[k] = v; } public IEnvironment? Find(string k) {