More & better forced connection detection

This commit is contained in:
aerinon
2020-03-03 08:25:52 -07:00
parent 83a9c4bdcf
commit 5aef551f7c
4 changed files with 99 additions and 52 deletions

View File

@@ -265,10 +265,10 @@ def generate_itempool(world, player):
amt = world.pool_adjustment[player]
if amt < 0:
for i in range(0, amt):
pool.remove(get_custom_array_key('Rupees (20)'))
pool.remove('Rupees (20)')
elif amt > 0:
for i in range(0, amt):
pool.append(get_custom_array_key('Rupees (20)'))
pool.append('Rupees (20)')
for item in precollected_items:
world.push_precollected(ItemFactory(item, player))