From 7030c58c51978f301a250a964f463cb0148d31f2 Mon Sep 17 00:00:00 2001 From: Yaya-Cout Date: Thu, 5 Jan 2023 17:18:11 +0100 Subject: [PATCH] [storage] Fix broken script saving/loading --- apps/code/script_template.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/code/script_template.h b/apps/code/script_template.h index c3f0f5b99..6eac56d34 100644 --- a/apps/code/script_template.h +++ b/apps/code/script_template.h @@ -10,7 +10,7 @@ public: constexpr ScriptTemplate(const char * name, const char * value) : m_name(name), m_value(value) {} static const ScriptTemplate * Empty(); const char * name() const { return m_name; } - const char * content() const { return m_value;} + const char * content() const { return m_value + Script::StatusSize(); } const char * value() const { return m_value; } private: const char * m_name;