Integers best gers

This commit is contained in:
Ryan Schmidt 2018-07-09 20:41:29 -07:00
parent 9167b4b83d
commit 939c4d8555

View File

@ -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: