From 0b5574369c76661801050fb8651c44eb1b2e31c2 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 10 May 2021 16:58:52 +0100 Subject: [PATCH] city angles --- media.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media.py b/media.py index 18ff3a9ea..f81fe2af1 100644 --- a/media.py +++ b/media.py @@ -92,9 +92,9 @@ def _getCityPulse(currTimeOfDay, decoySeed: int) -> (float, float): else: dataDecoyState = "party" dataDecoyIndex = 5 + randgen2 = random.Random(decoySeed + dataDecoyIndex) angleRadians = \ - (randgen.randint(0, 100000 - 5 + dataDecoyIndex) / 100000) * \ - 2 * math.pi + (randgen2.randint(0, 100000) / 100000) * 2 * math.pi # some people are quite random, others have more predictable habits decoyRandomness = randgen.randint(1, 3) # occasionally throw in a wildcard to keep the machine learning guessing