mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
Adds some trailing commas to lists, fixes typo (#79422)
## About The Pull Request What it says on the tin. Another one of these PR's. Is there a reason why we don't use the linters to enforce trailing commas? ## Why It's Good For The Game Cleaner diffs ## Changelog 🆑 code: added some trailing commas in lists that were missing them, fixed a typo in comments /🆑
This commit is contained in:
@@ -32,7 +32,7 @@ GLOBAL_LIST_INIT(blacklisted_cargo_types, typecacheof(list(
|
||||
/obj/machinery/camera,
|
||||
/obj/item/gps,
|
||||
/obj/structure/checkoutmachine,
|
||||
/obj/machinery/fax
|
||||
/obj/machinery/fax,
|
||||
)))
|
||||
|
||||
/// How many goody orders we can fit in a lockbox before we upgrade to a crate
|
||||
@@ -185,7 +185,7 @@ GLOBAL_LIST_INIT(blacklisted_cargo_types, typecacheof(list(
|
||||
if(!paying_for_this.adjust_money(-price, "Cargo: [spawning_order.pack.name]"))
|
||||
if(spawning_order.paying_account)
|
||||
paying_for_this.bank_card_talk("Cargo order #[spawning_order.id] rejected due to lack of funds. Credits required: [price]")
|
||||
if(!spawning_order.can_be_cancelled) //only if it absolutly cannot be canceled by the player do we cancel it for them
|
||||
if(!spawning_order.can_be_cancelled) //only if it absolutely cannot be canceled by the player do we cancel it for them
|
||||
rejected_orders += spawning_order
|
||||
continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user