Revert #113 because of incompatibility with the workshop

This commit is contained in:
Laury
2022-03-23 22:07:20 +01:00
parent e2598031c8
commit 7e64124ddc
7 changed files with 10 additions and 32 deletions

View File

@@ -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 + Script::StatusSize() + Script::CursorPositionSize(); }
const char * content() const { return m_value; + Script::StatusSize();}
const char * value() const { return m_value; }
private:
const char * m_name;