summaryrefslogtreecommitdiff
path: root/src/misc/aiscript/evaluator.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/aiscript/evaluator.ts')
-rw-r--r--src/misc/aiscript/evaluator.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc/aiscript/evaluator.ts b/src/misc/aiscript/evaluator.ts
index 541d4e4c65..d93fcebcf7 100644
--- a/src/misc/aiscript/evaluator.ts
+++ b/src/misc/aiscript/evaluator.ts
@@ -161,7 +161,7 @@ export class ASEvaluator {
subtract: (a: number, b: number) => a - b,
multiply: (a: number, b: number) => a * b,
divide: (a: number, b: number) => a / b,
- remind: (a: number, b: number) => a % b,
+ mod: (a: number, b: number) => a % b,
strLen: (a: string) => a.length,
strPick: (a: string, b: number) => a[b - 1],
strReplace: (a: string, b: string, c: string) => a.split(b).join(c),