From f889a49ab1e686f6945eeed9088c71bb13eeba59 Mon Sep 17 00:00:00 2001 From: DragonTrance Date: Wed, 8 Jun 2022 12:35:12 -0400 Subject: [PATCH] more src memery --- code/modules/jobs/job_types/job.dm | 8 ++++---- hyperstation/code/controllers/subsystem/economy.dm | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/code/modules/jobs/job_types/job.dm b/code/modules/jobs/job_types/job.dm index 632f7cf7b..ed11b8e30 100644 --- a/code/modules/jobs/job_types/job.dm +++ b/code/modules/jobs/job_types/job.dm @@ -118,19 +118,19 @@ /// Generates a bank account for the person who's getting this job datum /datum/job/proc/generate_bank_account(mob/living/carbon/human/reciever) - var/datum/bank_account/bank_account = new(H.real_name, src) + var/datum/bank_account/bank_account = new(reciever.real_name, src) return bank_account /datum/job/proc/get_access() if(!config) //Needed for robots. - return src.minimal_access.Copy() + return minimal_access.Copy() . = list() if(CONFIG_GET(flag/jobs_have_minimal_access)) - . = src.minimal_access.Copy() + . = minimal_access.Copy() else - . = src.access.Copy() + . = access.Copy() if(CONFIG_GET(flag/everyone_has_maint_access)) //Config has global maint access set . |= list(ACCESS_MAINT_TUNNELS) diff --git a/hyperstation/code/controllers/subsystem/economy.dm b/hyperstation/code/controllers/subsystem/economy.dm index 415569720..69dee7c8c 100644 --- a/hyperstation/code/controllers/subsystem/economy.dm +++ b/hyperstation/code/controllers/subsystem/economy.dm @@ -15,9 +15,9 @@ SUBSYSTEM_DEF(economy) /** * Returns a value of the amount of money a bank account would be getting. It's just some simple multiplication. * Both the bank account and job is allowed to be null here. - * - * Thanks to the ultimate nature of byond, double-colon accessors, ::, get the default values of the bank account and + * + * Thanks to the ultimate nature of byond, colon accessors, :, get the default values of the bank account and * job datums if the respective one is null. You can pass zero arguments here and you'd get the "default" amount of a paycheck. */ /datum/controller/subsystem/economy/proc/GetPaycheck(datum/bank_account/account, datum/job/job, multiplier=1) - return account::base_pay * job::base_paycheck_multiplier * multiplier + return account:base_pay * job:base_paycheck_multiplier * multiplier