mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-11 08:16:17 +01:00
[MIRROR] missingg param (#12723)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
committed by
GitHub
parent
6fc9ccaaea
commit
4e321eca3f
@@ -841,7 +841,7 @@
|
||||
if(istext(mute_type)) mute_type = text2num(mute_type)
|
||||
if(!isnum(mute_type)) return
|
||||
|
||||
cmd_admin_mute(M, mute_type, usr)
|
||||
cmd_admin_mute(M, mute_type, FALSE, usr)
|
||||
|
||||
else if(href_list["c_mode"])
|
||||
if(!check_rights(R_ADMIN|R_EVENT)) return
|
||||
|
||||
@@ -159,7 +159,7 @@ ADMIN_VERB_AND_CONTEXT_MENU(cmd_admin_godmode, R_HOLDER, "Toggle Godmode", "Togg
|
||||
admin_ticket_log(target_mob, msg)
|
||||
feedback_add_details("admin_verb","GOD_ENABLE") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/proc/cmd_admin_mute(mob/target, mute_type, automute = 0, mob/user)
|
||||
/proc/cmd_admin_mute(mob/target, mute_type, automute = FALSE, mob/user)
|
||||
if(automute)
|
||||
if(!CONFIG_GET(flag/automute_on))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user