From 92e21bffcc2bdbb12472599e498ef3f58f05da4a Mon Sep 17 00:00:00 2001 From: Kyep Date: Sat, 25 Feb 2017 18:47:02 -0800 Subject: [PATCH] Fixes spam when mentors check playtime/playerage --- code/game/jobs/job_exp.dm | 2 +- code/modules/admin/verbs/randomverbs.dm | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/game/jobs/job_exp.dm b/code/game/jobs/job_exp.dm index 57146664b67..c9ce95a86a9 100644 --- a/code/game/jobs/job_exp.dm +++ b/code/game/jobs/job_exp.dm @@ -19,7 +19,7 @@ jtext = theirjob.title if(config.use_exp_restrictions && theirjob.exp_requirements && theirjob.exp_type) jtext += "*" - if(check_rights(R_ADMIN)) + if(check_rights(R_ADMIN, 0)) pline = "
  • [key_name_admin(C.mob)]: [jtext]: " + C.get_exp_living() + "
  • " else pline = "
  • [key_name_mentor(C.mob)]: [jtext]: " + C.get_exp_living() + "
  • " diff --git a/code/modules/admin/verbs/randomverbs.dm b/code/modules/admin/verbs/randomverbs.dm index d66ade5f4a8..351b7845205 100644 --- a/code/modules/admin/verbs/randomverbs.dm +++ b/code/modules/admin/verbs/randomverbs.dm @@ -88,7 +88,7 @@ missing_ages = 1 continue if(C.player_age < age) - if(check_rights(R_ADMIN)) + if(check_rights(R_ADMIN, 0)) msg += "[key_name_admin(C.mob)]: [C.player_age] days old
    " else msg += "[key_name_mentor(C.mob)]: [C.player_age] days old
    " @@ -899,7 +899,7 @@ Traitors and the like can also be revived with the previous role mostly intact. to_chat(usr, "\red ERT has been Disabled.") log_admin("Admin [key_name(src)] has disabled ERT calling.") message_admins("Admin [key_name_admin(usr)] has disabled ERT calling.", 1) - + /client/proc/modify_goals() set category = "Event" set name = "Modify Station Goals" @@ -913,7 +913,7 @@ Traitors and the like can also be revived with the previous role mostly intact. if(!ticker || !ticker.mode) to_chat(usr, "This verb can only be used if the round has started.") return - + var/dat = "" for(var/datum/station_goal/S in ticker.mode.station_goals) dat += "[S.name] - Announce | Remove
    "