Themes: add validation for duplicate presets, fix #1582
This commit is contained in:
parent
fc6160c760
commit
2e8a3311e7
5 changed files with 83 additions and 18 deletions
|
@ -387,7 +387,7 @@ In the case that MapComplete is pointed to the testing grounds, the edit will be
|
|||
return newArr
|
||||
}
|
||||
|
||||
public static Dupiclates(arr: string[]): string[] {
|
||||
public static Duplicates(arr: string[]): string[] {
|
||||
if (arr === undefined) {
|
||||
return undefined
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue