From 7f3f5c7648ee4878d4489fa937f6b1cb94e8d696 Mon Sep 17 00:00:00 2001 From: Hedrauta Date: Wed, 22 Dec 2021 02:00:22 +0100 Subject: [PATCH] commitCrime will return milliseconds :wink: --- src/ScriptEditor/NetscriptDefinitions.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ScriptEditor/NetscriptDefinitions.d.ts b/src/ScriptEditor/NetscriptDefinitions.d.ts index 192ce792e..5cfed67ad 100644 --- a/src/ScriptEditor/NetscriptDefinitions.d.ts +++ b/src/ScriptEditor/NetscriptDefinitions.d.ts @@ -1719,9 +1719,9 @@ export interface Singularity { * function will automatically cancel that action and give you your * earnings. * - * This function returns the number of seconds it takes to attempt the specified - * crime (e.g It takes 60 seconds to attempt the ‘Rob Store’ crime, so running - * `commitCrime('rob store')` will return 60). + * This function returns the number of milliseconds it takes to attempt the + * specified crime (e.g It takes 60 seconds to attempt the ‘Rob Store’ crime, + * so running `commitCrime('rob store')` will return 60000). * * Warning: I do not recommend using the time returned from this function to try * and schedule your crime attempts. Instead, I would use the isBusy Singularity