diff --git a/core/src/com/unciv/models/ruleset/Era.kt b/core/src/com/unciv/models/ruleset/Era.kt index cc84f38655..998f444dbf 100644 --- a/core/src/com/unciv/models/ruleset/Era.kt +++ b/core/src/com/unciv/models/ruleset/Era.kt @@ -42,4 +42,7 @@ class Era : INamed, IHasUniques { } fun getHexColor() = "#" + getColor().toString().substring(0, 6) -} \ No newline at end of file + + /** This is used for display purposes in templates */ + override fun toString() = name +}