From 0ed6f9ea855bdeb4abdc4b844df6c16b6b2022d0 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Wed, 15 May 2024 21:25:26 +0200 Subject: [PATCH] Removed typed thingy --- README.md | 2 +- src/modules/splashes.gd | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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: