Commit 9499aeaa authored by D3athrow's avatar D3athrow
Browse files

stupid

parent 7346b400
......@@ -268,8 +268,9 @@
var/transfer_total = 0
for(var/datum/money_account/A in all_money_accounts)
for(var/datum/transaction/T in A.transaction_log)
if(T.amount <= 0) // This way we don't track payouts or starting funds, only money transferred to terminals or between players
transfer_total += abs(T.amount)
var/amt = text2num(T.amount)
if(amt <= 0) // This way we don't track payouts or starting funds, only money transferred to terminals or between players
transfer_total += abs(amt)
score["totaltransfer"] = transfer_total
arena_top_score = 0
......
......@@ -11,7 +11,7 @@ var/global/roundstart_enable_wages = 0
var/datum/transaction/T = new()
T.purpose = "Nanotrasen employee payroll"
T.amount = Acc.wage_gain
T.amount = "[Acc.wage_gain]"
T.date = current_date_string
T.time = worldtime2text()
T.source_terminal = "Nanotrasen Payroll Server"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment