diff --git a/vacuum_gambit.p8 b/vacuum_gambit.p8 index bd75f78..24cc6ba 100644 --- a/vacuum_gambit.p8 +++ b/vacuum_gambit.p8 @@ -1868,7 +1868,11 @@ end -- ordinary upgrades function small_opts() -- todo: include gun opts - return pick(primary_ship:small_upgrade_opts(), 2) + if(not primary_ship.special_guns) return pick(primary_ship:small_upgrade_opts(), 2) + local opts = {rnd(primary_ship:small_upgrade_opts())} + for g in all(primary_ship.special_guns) do + add(opts, rnd(g:small_upgrade_opts())) + end end -->8