mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-21 05:04:10 +01:00
[MIRROR] right fixes... (#7605)
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: CHOMPStation2 <chompsation2@gmail.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user