diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-05-05 20:36:09 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-05-05 20:36:09 +0900 |
| commit | b8d8097734dea2f7a22651ecf164933c4d1eabfc (patch) | |
| tree | d8d680e5d57a1ebc20505fabf15d6b8008bce3d5 /src/misc | |
| parent | 11.11.0 (diff) | |
| download | sharkey-b8d8097734dea2f7a22651ecf164933c4d1eabfc.tar.gz sharkey-b8d8097734dea2f7a22651ecf164933c4d1eabfc.tar.bz2 sharkey-b8d8097734dea2f7a22651ecf164933c4d1eabfc.zip | |
Fix bug
Diffstat (limited to 'src/misc')
| -rw-r--r-- | src/misc/aiscript/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc/aiscript/index.ts b/src/misc/aiscript/index.ts index 4f66d688ea..4e1d5591f4 100644 --- a/src/misc/aiscript/index.ts +++ b/src/misc/aiscript/index.ts @@ -73,7 +73,7 @@ export const funcDefs: Record<string, { in: any[]; out: any; category: string; i stringToNumber: { in: ['string'], out: 'number', category: 'convert', icon: faExchangeAlt, }, numberToString: { in: ['number'], out: 'string', category: 'convert', icon: faExchangeAlt, }, splitStrByLine: { in: ['string'], out: 'stringArray', category: 'convert', icon: faExchangeAlt, }, - pick: { in: [null], out: null, category: 'list', icon: faIndent, }, + pick: { in: [null, 'number'], out: null, category: 'list', icon: faIndent, }, rannum: { in: ['number', 'number'], out: 'number', category: 'random', icon: faDice, }, dailyRannum: { in: ['number', 'number'], out: 'number', category: 'random', icon: faDice, }, seedRannum: { in: [null, 'number', 'number'], out: 'number', category: 'random', icon: faDice, }, |