diff --git a/README.md b/README.md index 14b2289..f041c28 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Adds a splash to the specified category. Adds an array of splashes to the specified category. #### *CoreBaseModule* copy_splashes(*String* source_category, *String* target_category) Copies all splashes from the source category to the target category. -#### *Array[String]* get_categories() +#### *Array* get_categories() Returns a list of all categories. #### *CoreBaseModule* delete_category(*String* category) Removes the specified category. diff --git a/src/modules/splashes.gd b/src/modules/splashes.gd index a2a9449..9f1f89f 100644 --- a/src/modules/splashes.gd +++ b/src/modules/splashes.gd @@ -147,8 +147,8 @@ func copy_splashes(source_category: String, target_category: String) -> CoreBase return self ## Returns a list of all categories. -func get_categories() -> Array[String]: - return core.misc.array_to_stringarray(splashes.keys()) +func get_categories() -> Array: + return splashes.keys() ## Removes the specified category. func delete_category(category: String) -> CoreBaseModule: