Merge pull request #3053 from Citadel-Station-13/upstream-merge-31155

[MIRROR] Fixes station name in cargo stock displays
This commit is contained in:
LetterJay
2017-10-01 16:37:31 -04:00
committed by GitHub

View File

@@ -13,7 +13,7 @@
/obj/machinery/computer/stockexchange/Initialize()
. = ..()
logged_in = "[station_name()] Cargo Department"
logged_in = "SS13 Cargo Department"
/obj/machinery/computer/stockexchange/proc/balance()
if (!logged_in)
@@ -63,7 +63,7 @@ a.updated {
</style>"}
var/dat = "<html><head><title>[station_name()] Stock Exchange</title>[css]</head><body>"
dat += "<span class='user'>Welcome, <b>[logged_in]</b></span><br><span class='balance'><b>Credits:</b> [balance()] </span><br>"
dat += "<span class='user'>Welcome, <b>[station_name()] Cargo Department</b></span><br><span class='balance'><b>Credits:</b> [balance()] </span><br>"
for (var/datum/stock/S in GLOB.stockExchange.last_read)
var/list/LR = GLOB.stockExchange.last_read[S]
if (!(logged_in in LR))