options work better when I return them
This commit is contained in:
		| @@ -1892,6 +1892,7 @@ function small_opts() | |||||||
|  for g in all(primary_ship.special_guns) do |  for g in all(primary_ship.special_guns) do | ||||||
|   add(opts, rnd(g:small_upgrade_opts())) |   add(opts, rnd(g:small_upgrade_opts())) | ||||||
|  end |  end | ||||||
|  |  return pick(opts, 2) | ||||||
| end | end | ||||||
|  |  | ||||||
| -->8 | -->8 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user