This commit is contained in:
Olivier Gagnon
2022-05-19 02:09:00 -04:00
parent ca1a2aad33
commit 9af553f63c
5 changed files with 43 additions and 15 deletions
@@ -13,7 +13,7 @@ import { GetServer, AddToAllServers, createUniqueRandomIp } from "../../Server/A
import { SpecialServers } from "../../Server/data/SpecialServers";
export function hasTorRouter(this: IPlayer): boolean {
return !!GetServer(SpecialServers.DarkWeb);
return this.getHomeComputer().serversOnNetwork.includes(SpecialServers.DarkWeb);
}
export function getCurrentServer(this: IPlayer): BaseServer {