From c1c87476c0f635cfb7f9b249326424f9aea814bb Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Wed, 15 May 2024 21:32:50 +0200 Subject: [PATCH] Removed typed array indicator? --- README.md | 2 +- src/modules/splashes.gd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f041c28..438f77c 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Unregisters all CORE modules. ### `src/modules/splashes.gd` #### *CoreBaseModule* add_splash(*String* category, *String* splash) Adds a splash to the specified category. -#### *CoreBaseModule* add_splashes(*String* category, *Array[String]* splashes) +#### *CoreBaseModule* add_splashes(*String* category, *Array* splashes) 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. diff --git a/src/modules/splashes.gd b/src/modules/splashes.gd index 9f1f89f..cbf2604 100644 --- a/src/modules/splashes.gd +++ b/src/modules/splashes.gd @@ -133,7 +133,7 @@ func add_splash(category: String, splash: String) -> CoreBaseModule: return self ## Adds an array of splashes to the specified category. -func add_splashes(category: String, splash_array: Array[String]) -> CoreBaseModule: +func add_splashes(category: String, splash_array: Array) -> CoreBaseModule: for splash in splash_array: add_splash(category, splash)