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
|
possiblegamemodes += [gamemode] * num
|
||||||
numvotes += num
|
numvotes += num
|
||||||
if len(villagers) - numvotes > 0:
|
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
|
# check if we go with a voted mode or a random mode
|
||||||
gamemode = random.choice(possiblegamemodes)
|
gamemode = random.choice(possiblegamemodes)
|
||||||
if gamemode is None:
|
if gamemode is None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user