From 51b505bfcfb19d7ebdca965575098bee2471fd62 Mon Sep 17 00:00:00 2001 From: CHOMPStation2 <58959929+CHOMPStation2@users.noreply.github.com> Date: Sun, 21 Jan 2024 14:53:10 -0700 Subject: [PATCH] [MIRROR] right fixes... (#7605) Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: CHOMPStation2 --- code/modules/admin/verbs/modify_robot.dm | 2 +- code/modules/admin/verbs/resize.dm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/admin/verbs/modify_robot.dm b/code/modules/admin/verbs/modify_robot.dm index 83162dba3b..6a13ee9807 100644 --- a/code/modules/admin/verbs/modify_robot.dm +++ b/code/modules/admin/verbs/modify_robot.dm @@ -3,7 +3,7 @@ set name = "Modify Robot Module" set desc = "Allows to add or remove modules to/from robots." set category = "Admin" - if(!check_rights(R_ADMIN)) + if(!check_rights(R_ADMIN, R_FUN, R_VAREDIT)) return if(!istype(target) || !target.module) diff --git a/code/modules/admin/verbs/resize.dm b/code/modules/admin/verbs/resize.dm index 917a3a55c5..bc65d31b66 100644 --- a/code/modules/admin/verbs/resize.dm +++ b/code/modules/admin/verbs/resize.dm @@ -2,9 +2,9 @@ set name = "Resize" set desc = "Resizes any living mob without any restrictions on size." set category = "Fun" - if(!check_rights(R_ADMIN, R_FUN)) + if(!check_rights(R_ADMIN, R_FUN, R_VAREDIT)) return - + var/size_multiplier = tgui_input_number(usr, "Input size multiplier.", "Resize", 1) if(!size_multiplier) return //cancelled