Fix tor router from anywhere

This commit is contained in:
Olivier Gagnon 2022-05-25 11:14:06 -04:00
parent bef953bf59
commit 63b0b22f92

@ -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)",
);