Integers best gers
This commit is contained in:
parent
9167b4b83d
commit
939c4d8555
@ -4453,7 +4453,7 @@ def start(cli, nick, chan, forced = False, restart = ""):
|
||||
possiblegamemodes += [gamemode] * num
|
||||
numvotes += num
|
||||
if len(villagers) - numvotes > 0:
|
||||
possiblegamemodes += [None] * ((len(villagers) - numvotes) / 2)
|
||||
possiblegamemodes += [None] * ((len(villagers) - numvotes) // 2)
|
||||
# check if we go with a voted mode or a random mode
|
||||
gamemode = random.choice(possiblegamemodes)
|
||||
if gamemode is None:
|
||||
|
Loading…
Reference in New Issue
Block a user