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)