diff options
Diffstat (limited to 'src/rules.h')
-rw-r--r-- | src/rules.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rules.h b/src/rules.h index 8b54e8d..3a3ffbc 100644 --- a/src/rules.h +++ b/src/rules.h @@ -13,6 +13,7 @@ namespace rules { public: string getFull() const {return abilities.at(getAbbrev());} string getAbbrev() const {return abbrev;} + operator string() const {return getAbbrev();} virtual nlohmann::json toJson(void) const { return getAbbrev(); } |