From bedc018dca6d41c528a5bbe73662f079ef9e94a3 Mon Sep 17 00:00:00 2001
From: Arkerthan <arkerthan@mailbox.org>
Date: Fri, 20 May 2022 21:53:04 +0200
Subject: [PATCH] Fix ency entry for RA conditions

---
 src/gui/Encyclopedia/encyclopediaRAActivationEditor.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gui/Encyclopedia/encyclopediaRAActivationEditor.js b/src/gui/Encyclopedia/encyclopediaRAActivationEditor.js
index 78e8cad4665..5fa62bc7cac 100644
--- a/src/gui/Encyclopedia/encyclopediaRAActivationEditor.js
+++ b/src/gui/Encyclopedia/encyclopediaRAActivationEditor.js
@@ -131,7 +131,7 @@ App.Encyclopedia.addArticle("RA Condition Editor", function() {
 		"the condition evaluation will fail!");
 	acc.toParagraph();
 	acc.push("For example to get the slave name you can use");
-	acc.push(App.UI.DOM.makeElement("span", "context => slave.slaveName", ["monospace"]));
+	acc.push(App.UI.DOM.makeElement("span", "context => context.slave.slaveName", ["monospace"]));
 	acc.push("and set the getter type to string.");
 	acc.toParagraph();
 	acc.push("Documentation for slave attributes can be found " +
-- 
GitLab