[MIRROR] Fixes roundend report runtmining if no traitor had a uplink. (#6009)
* Fixes roundend report runtmining if no traitor had a uplink. * Merge pull request #36461 from AnturK/broken-uplink-log Fixes roundend report runtmining if no traitor had a uplink.
This commit is contained in:
committed by
Poojawa
parent
26e1aec9d8
commit
777a4473d8
@@ -325,6 +325,7 @@
|
||||
var/text = "<br><span class='header'>The syndicate operatives were:</span>"
|
||||
var/purchases = ""
|
||||
var/TC_uses = 0
|
||||
LAZYINITLIST(GLOB.uplink_purchase_logs_by_key)
|
||||
for(var/I in members)
|
||||
var/datum/mind/syndicate = I
|
||||
var/datum/uplink_purchase_log/H = GLOB.uplink_purchase_logs_by_key[syndicate.key]
|
||||
|
||||
@@ -321,6 +321,7 @@
|
||||
var/TC_uses = 0
|
||||
var/uplink_true = FALSE
|
||||
var/purchases = ""
|
||||
LAZYINITLIST(GLOB.uplink_purchase_logs_by_key)
|
||||
var/datum/uplink_purchase_log/H = GLOB.uplink_purchase_logs_by_key[owner.key]
|
||||
if(H)
|
||||
TC_uses = H.total_spent
|
||||
|
||||
Reference in New Issue
Block a user