restart function

This commit is contained in:
NikolajDanger
2020-08-08 11:04:41 +02:00
parent 73b0a21a48
commit 1490cf81eb
3 changed files with 8 additions and 4 deletions

View File

@ -169,7 +169,7 @@ def drawGallows():
def drawImage(channel):
with open("resources/games/hangmanGames.json", "r") as f:
data = json.load(f)
random.seed(data[channel]["game ID"])
background = Image.new("RGBA",(1600,1000),color=backgroundColor)