Skip to content

Commit

Permalink
fix typo causing crashes in ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
fira committed Dec 2, 2023
1 parent 78e613c commit cb7e930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/supplyshuttle.dm
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ GLOBAL_DATUM_INIT(supply_controller, /datum/controller/supply, new())
var/datum/supply_packs/supply_pack = GLOB.supply_packs_datums[supply_type]
if(supply_pack.contraband || supply_pack.group != last_viewed_group || !supply_pack.buyable)
continue //Have to send the type instead of a reference to
temp += "<A href='?src=\ref[src];doorder=[supply_pack/name]'>[supply_pack.name]</A> Cost: $[round(supply_pack.cost) * SUPPLY_TO_MONEY_MUPLTIPLIER]<BR>" //the obj because it would get caught by the garbage
temp += "<A href='?src=\ref[src];doorder=[supply_pack.name]'>[supply_pack.name]</A> Cost: $[round(supply_pack.cost) * SUPPLY_TO_MONEY_MUPLTIPLIER]<BR>" //the obj because it would get caught by the garbage

else if (href_list["doorder"])
if(world.time < reqtime)
Expand Down

0 comments on commit cb7e930

Please sign in to comment.