From 63b0b22f92863a8181882076a70642a59e74d38a Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Wed, 25 May 2022 11:14:06 -0400 Subject: [PATCH] Fix tor router from anywhere --- src/Terminal/commands/buy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Terminal/commands/buy.ts b/src/Terminal/commands/buy.ts index 56d04ddd6..962005289 100644 --- a/src/Terminal/commands/buy.ts +++ b/src/Terminal/commands/buy.ts @@ -13,7 +13,7 @@ export function buy( server: BaseServer, args: (string | number | boolean)[], ): void { - if (!GetServer(SpecialServers.DarkWeb)) { + if (!player.hasTorRouter()) { terminal.error( "You need to be able to connect to the Dark Web to use the buy command. (Maybe there's a TOR router you can buy somewhere)", );